diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 788c5f59b18..a4c29fb4399 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2011-10-04 Ozkan Sezer + + * config/i386/mingw-w64.h (CPP_SPEC): Rename _REENTRANCE to + _REENTRANT. + * config/i386/mingw32.h (CPP_SPEC): Likewise. + 2011-10-04 David S. Miller * 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 62a72ef2b92..a45ce28b282 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 7cb280eda32..371cb72248b 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