From f1300e657659259b4082ad83de3b59a7b6b1094b Mon Sep 17 00:00:00 2001 From: Kevin E Martin Date: Wed, 11 Aug 2004 21:14:02 +0000 Subject: Apply PPC64 build patch (Bug #303, Mike A. Harris, Alan Coopersmith). --- imakemdep.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/imakemdep.h b/imakemdep.h index 2e02cc3..dd83943 100644 --- a/imakemdep.h +++ b/imakemdep.h @@ -618,6 +618,9 @@ char *cpp_argv[ARGUMENTS] = { # ifdef ppc "-Dppc", # endif +# ifdef ppc64 + "-Dppc64", +# endif # if defined(m68k) || defined(M68k) || defined(m68040) "-Dm68k", "-DM68k", @@ -679,6 +682,9 @@ char *cpp_argv[ARGUMENTS] = { # ifdef __powerpc__ "-D__powerpc__", # endif +# ifdef __powerpc64__ + "-D__powerpc64__", +# endif # ifdef PowerMAX_OS "-DPowerMAX_OS", # endif @@ -711,6 +717,9 @@ char *cpp_argv[ARGUMENTS] = { # ifdef __ppc__ "-D__ppc__", # endif +# ifdef __ppc64__ + "-D__ppc64__", +# endif # ifdef __i386__ "-D__i386__", # endif @@ -1255,6 +1264,9 @@ struct symtab predefs[] = { # ifdef __powerpc__ {"__powerpc__", "1"}, # endif +# ifdef __powerpc64__ + {"__powerpc64__", "1"}, +# endif # ifdef PowerMAX_OS {"PowerMAX_OS", "1"}, # endif @@ -1332,6 +1344,9 @@ struct symtab predefs[] = { #if defined(__ppc__) {"__ppc__", "1"}, #endif +#if defined(__ppc64__) + {"__ppc64__", "1"}, +#endif #if defined(__BIG_ENDIAN__) {"__BIG_ENDIAN__", "1"}, #endif -- cgit v1.2.3