diff options
author | Mike A. Harris <mharris@redhat.com> | 2004-03-11 09:16:51 +0000 |
---|---|---|
committer | Mike A. Harris <mharris@redhat.com> | 2004-03-11 09:16:51 +0000 |
commit | 60665fba7faf87956929cfb29709c0af2ad2aa2f (patch) | |
tree | 375e58720808493e359617331235455e82e3e959 | |
parent | a50a4c9c853dd01380ef4a9796d3d8bff40ebd55 (diff) |
Added initial support for PowerPC 64 (ppc64) architecture. (Mike A. Harris,IPv6-REVIEW-BASEIPv6-REVIEW
Elliot Lee, SuSE)
-rw-r--r-- | imakemdep.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/imakemdep.h b/imakemdep.h index 38a6d95..8da6fc8 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", @@ -677,6 +680,10 @@ char *cpp_argv[ARGUMENTS] = { "-DSVR4", # endif # ifdef __powerpc__ +# ifdef __powerpc64__ + "-D__powerpc64__", +# endif +# else "-D__powerpc__", # endif # ifdef PowerMAX_OS @@ -711,6 +718,9 @@ char *cpp_argv[ARGUMENTS] = { # ifdef __ppc__ "-D__ppc__", # endif +# ifdef __ppc64__ + "-D__ppc64__", +# endif # ifdef __i386__ "-D__i386__", # endif @@ -1253,6 +1263,10 @@ struct symtab predefs[] = { {"__QNXNTO__", "1"}, #endif # ifdef __powerpc__ +# ifdef __powerpc64__ + {"__powerpc64__", "1"}, +# endif +# else {"__powerpc__", "1"}, # endif # ifdef PowerMAX_OS @@ -1332,6 +1346,9 @@ struct symtab predefs[] = { #if defined(__ppc__) {"__ppc__", "1"}, #endif +#if defined(__ppc64__) + {"__ppc64__", "1"}, +#endif #if defined(__BIG_ENDIAN__) {"__BIG_ENDIAN__", "1"}, #endif |