From a88a1197df0b95cc517138436cae703d10417781 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Mitsuharu Date: Wed, 27 Feb 2008 23:32:15 +0000 Subject: [PATCH] [MAC_OSX || DARWIN]: Define NO_ARG_ARRAY if _LP64. --- src/ChangeLog | 4 ++++ src/m/intel386.h | 7 +++++++ 2 files changed, 11 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index 8004b75b3d2..29de388c35d 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2008-02-27 YAMAMOTO Mitsuharu + + * m/intel386.h [MAC_OSX || DARWIN]: Define NO_ARG_ARRAY if _LP64. + 2008-02-27 Chong Yidong * process.c (wait_reading_process_output): Check for window diff --git a/src/m/intel386.h b/src/m/intel386.h index a59870255ac..c42055646b7 100644 --- a/src/m/intel386.h +++ b/src/m/intel386.h @@ -214,5 +214,12 @@ NOTE-END */ #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) */ -- 2.39.2