diff options
author | Ozkan Sezer <sezeroz@gmail.com> | 2011-10-04 16:42:35 +0000 |
---|---|---|
committer | Kai Tietz <ktietz@gcc.gnu.org> | 2011-10-04 18:42:35 +0200 |
commit | 0de99d2625d60d155d319cc5c3325a9efdda1eb7 (patch) | |
tree | f144066b2ba5a60b83dd765707e21e75233df745 /gcc | |
parent | 1de6359c61ed0b03c22d2ca9c2dffbcd5a5d02bc (diff) | |
download | gcc-0de99d2625d60d155d319cc5c3325a9efdda1eb7.zip gcc-0de99d2625d60d155d319cc5c3325a9efdda1eb7.tar.gz gcc-0de99d2625d60d155d319cc5c3325a9efdda1eb7.tar.bz2 |
mingw-w64.h (CPP_SPEC): Rename _REENTRANCE to _REENTRANT.
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/i386/mingw-w64.h | 4 | ||||
-rw-r--r-- | gcc/config/i386/mingw32.h | 2 |
3 files changed, 9 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 788c5f5..a4c29fb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/config/i386/mingw-w64.h b/gcc/config/i386/mingw-w64.h index 62a72ef..a45ce28 100644 --- a/gcc/config/i386/mingw-w64.h +++ b/gcc/config/i386/mingw-w64.h @@ -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} \ diff --git a/gcc/config/i386/mingw32.h b/gcc/config/i386/mingw32.h index 7cb280e..371cb72 100644 --- a/gcc/config/i386/mingw32.h +++ b/gcc/config/i386/mingw32.h @@ -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 |