]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
mingw-w64.h (CPP_SPEC): Rename _REENTRANCE to _REENTRANT.
authorOzkan Sezer <sezeroz@gmail.com>
Tue, 4 Oct 2011 16:42:35 +0000 (16:42 +0000)
committerKai Tietz <ktietz@gcc.gnu.org>
Tue, 4 Oct 2011 16:42:35 +0000 (18:42 +0200)
2011-10-04  Ozkan Sezer  <sezeroz@gmail.com>

        * config/i386/mingw-w64.h (CPP_SPEC): Rename _REENTRANCE to
        _REENTRANT.
        * config/i386/mingw32.h (CPP_SPEC): Likewise.

From-SVN: r179511

gcc/ChangeLog
gcc/config/i386/mingw-w64.h
gcc/config/i386/mingw32.h

index 788c5f59b18a9903b71a7b4b29e3cc6459b663af..a4c29fb4399cad146ae58ff82e59626dea3e4bc8 100644 (file)
@@ -1,3 +1,9 @@
+2011-10-04  Ozkan Sezer  <sezeroz@gmail.com>
+
+       * config/i386/mingw-w64.h (CPP_SPEC): Rename _REENTRANCE to
+       _REENTRANT.
+       * config/i386/mingw32.h (CPP_SPEC): Likewise.
+
 2011-10-04  David S. Miller  <davem@davemloft.net>
 
        * config/sparc/driver-sparc.c (cpu_names): Fix string for supersparc
index 62a72ef2b92752a994d1341f146f9d43b76cbe60..a45ce28b28235d4cce0530baa025eca7aa715bec 100644 (file)
@@ -25,8 +25,8 @@ along with GCC; see the file COPYING3.  If not see
 #undef CPP_SPEC
 #define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{mthreads:-D_MT} " \
                 "%{municode:-DUNICODE} " \
-                "%{" SPEC_PTHREAD1 ":-D_REENTRANCE} " \
-                "%{" SPEC_PTHREAD2 ":-U_REENTRANCE} "
+                "%{" SPEC_PTHREAD1 ":-D_REENTRANT} " \
+                "%{" SPEC_PTHREAD2 ":-U_REENTRANT} "
 
 #undef STARTFILE_SPEC
 #define STARTFILE_SPEC "%{shared|mdll:dllcrt2%O%s} \
index 7cb280eda32e8478ddd55e9119ba99417a0d88f5..371cb72248bf45ac41bc1d6af261640cf6c445ca 100644 (file)
@@ -87,7 +87,7 @@ along with GCC; see the file COPYING3.  If not see
 
 #undef CPP_SPEC
 #define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{mthreads:-D_MT} " \
-                "%{" SPEC_PTHREAD1 ":-D_REENTRANCE} " \
+                "%{" SPEC_PTHREAD1 ":-D_REENTRANT} " \
                 "%{" SPEC_PTHREAD2 ": } "
 
 /* For Windows applications, include more libraries, but always include