This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch libstdc++]: Fix PR/57212


Hi,

see for details http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57212

ChangeLog libstdc++

2013-05-08  Andoni Morales Alastruey <ylatuya@gmail.com>

    PR libstdc++/57212
    * include/Makefile.am (_GLIBCXX___MINGW32_GLIBCXX___): Modify
    to __MINGW32__.
    * include/Makefile: Regenerated.

I will apply this patch as obvious fix for Andoni.

Regards,
Kai

>From 694df461711448770000326f4943bb147b3fc810 Mon Sep 17 00:00:00 2001
From: Andoni Morales Alastruey <ylatuya@gmail.com>
Date: Wed, 8 May 2013 15:30:00 +0200
Subject: [PATCH] libstdc++: fix define for MINGW32

---
 libstdc++-v3/include/Makefile.am | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libstdc++-v3/include/Makefile.am b/libstdc++-v3/include/Makefile.am
index e6de256..06c1497 100644
--- a/libstdc++-v3/include/Makefile.am
+++ b/libstdc++-v3/include/Makefile.am
@@ -1125,6 +1125,7 @@ ${host_builddir}/gthr.h:
${toplevel_srcdir}/libgcc/gthr.h stamp-${host_alias}
     sed -e '/^#pragma/b' \
         -e '/^#/s/\(${uppercase}${uppercase}*\)/_GLIBCXX_\1/g' \
         -e 's/_GLIBCXX_SUPPORTS_WEAK/__GXX_WEAK__/g' \
+        -e 's/_GLIBCXX___MINGW32_GLIBCXX___/__MINGW32__/g' \
         -e 's,^#include "\(.*\)",#include <bits/\1>,g' \
         < $< > $@


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]