changeset 80231:f2fca97b0671

[MAC_OSX || DARWIN]: Define NO_ARG_ARRAY if _LP64.
author YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
date Wed, 27 Feb 2008 23:32:04 +0000
parents 9c2ef4f2ad6a
children f5a2d8e8fc56
files src/m/intel386.h
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/m/intel386.h	Wed Feb 27 20:48:57 2008 +0000
+++ b/src/m/intel386.h	Wed Feb 27 23:32:04 2008 +0000
@@ -214,5 +214,12 @@
 #define SEGMENT_MASK ((SEGMENT_SIZE)-1)
 #endif
 
+#if defined (MAC_OSX) || defined (DARWIN)
+#ifdef _LP64
+/* For Intel Mac, with CC='gcc -arch x86_64'.  */
+#define NO_ARG_ARRAY
+#endif
+#endif
+
 /* arch-tag: 746338f0-cb7b-4f49-a98c-cb50817cf2ec
    (do not change this comment) */