Commit f1300e65 authored by Kevin E Martin's avatar Kevin E Martin

Apply PPC64 build patch (Bug #303, Mike A. Harris, Alan Coopersmith).

parent 1529cb60
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment