diff --git a/ChangeLog b/ChangeLog index 5d076e44d..24b92cdee 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2013-03-08 Paulo Andrade + + * check/lightning.c: Add missing ppc preprocessor definition. + 2013-03-06 Paulo Andrade * check/float.tst: Comment out the int to negative infinity diff --git a/check/lightning.c b/check/lightning.c index 24e5240cb..439aedef0 100644 --- a/check/lightning.c +++ b/check/lightning.c @@ -3960,6 +3960,11 @@ main(int argc, char *argv[]) sizeof(cmdline) - opt_short, " -D__arm__=1"); #endif +#if defined(__ppc__) || defined(__powerpc__) + opt_short += snprintf(cmdline + opt_short, + sizeof(cmdline) - opt_short, + " -D__ppc__=1"); +#endif #if defined(__sparc__) opt_short += snprintf(cmdline + opt_short, sizeof(cmdline) - opt_short,