gnu.h (GNU_USER_TARGET_OS_CPP_BUILTINS): Never define MACH, just __MACH__.
authorThomas Schwinge <thomas@codesourcery.com>
Wed, 6 Feb 2013 23:12:03 +0000 (00:12 +0100)
committerThomas Schwinge <tschwinge@gcc.gnu.org>
Wed, 6 Feb 2013 23:12:03 +0000 (00:12 +0100)
gcc/
* config/gnu.h (GNU_USER_TARGET_OS_CPP_BUILTINS): Never define
MACH, just __MACH__.

From-SVN: r195826

gcc/ChangeLog
gcc/config/gnu.h

index 00a3ea2..24d2587 100644 (file)
@@ -1,3 +1,8 @@
+2013-02-06  Thomas Schwinge  <thomas@codesourcery.com>
+
+       * config/gnu.h (GNU_USER_TARGET_OS_CPP_BUILTINS): Never define
+       MACH, just __MACH__.
+
 2013-02-06  Richard Biener  <rguenther@suse.de>
 
        * tracer.c (tracer): Mark loops with LOOPS_NEED_FIXUP
index 604ba8d..263b023 100644 (file)
@@ -33,7 +33,7 @@ along with GCC.  If not, see <http://www.gnu.org/licenses/>.
        builtin_define ("__gnu_hurd__");        \
        builtin_define ("__GNU__");             \
        builtin_define_std ("unix");            \
-       builtin_define_std ("MACH");            \
+       builtin_define ("__MACH__");            \
        builtin_assert ("system=gnu");          \
        builtin_assert ("system=mach");         \
        builtin_assert ("system=unix");         \