From: Ozkan Sezer Date: Tue, 4 Oct 2011 16:42:35 +0000 (+0000) Subject: mingw-w64.h (CPP_SPEC): Rename _REENTRANCE to _REENTRANT. X-Git-Tag: releases/gcc-4.7.0~3385 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0de99d2625d60d155d319cc5c3325a9efdda1eb7;p=thirdparty%2Fgcc.git mingw-w64.h (CPP_SPEC): Rename _REENTRANCE to _REENTRANT. 2011-10-04 Ozkan Sezer * config/i386/mingw-w64.h (CPP_SPEC): Rename _REENTRANCE to _REENTRANT. * config/i386/mingw32.h (CPP_SPEC): Likewise. From-SVN: r179511 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 788c5f59b18a..a4c29fb4399c 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 62a72ef2b927..a45ce28b2823 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 7cb280eda32e..371cb72248bf 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