summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--imakemdep.h17
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