guile-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Guile-commits] 196/437: Add missing __ppc__ definition.


From: Andy Wingo
Subject: [Guile-commits] 196/437: Add missing __ppc__ definition.
Date: Mon, 2 Jul 2018 05:14:16 -0400 (EDT)

wingo pushed a commit to branch lightning
in repository guile.

commit 19123bae5db8d401bace9f8659e4340dc2cac7f9
Author: pcpa <address@hidden>
Date:   Fri Mar 8 12:13:09 2013 -0300

    Add missing __ppc__ definition.
    
        * check/lightning.c: Add missing ppc preprocessor definition.
---
 ChangeLog         | 4 ++++
 check/lightning.c | 5 +++++
 2 files changed, 9 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index 5d076e4..24b92cd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2013-03-08 Paulo Andrade <address@hidden>
+
+       * check/lightning.c: Add missing ppc preprocessor definition.
+
 2013-03-06 Paulo Andrade <address@hidden>
 
        * check/float.tst: Comment out the int to negative infinity
diff --git a/check/lightning.c b/check/lightning.c
index 24e5240..439aede 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,



reply via email to

[Prev in Thread] Current Thread [Next in Thread]