aboutsummaryrefslogtreecommitdiffstats
path: root/testing/advancemame/fix-ppc64le-float128.patch
blob: eb195cbab79c877d44ab6993ca928495b4590c47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- a/advance/d2/d2.cc
+++ b/advance/d2/d2.cc
@@ -21,6 +21,9 @@
 #include <string>
 #include <iostream>
 #include <sstream>
+#if defined(__PPC64__)
+#define __STRICT_ANSI__
+#endif
 #include <cstdlib>
 #include <cstdio>
 
--- a/advance/lib/portable.h
+++ b/advance/lib/portable.h
@@ -67,6 +67,9 @@
 
 /* Include some standard headers */
 #include <stdio.h>
+#if defined(__PPC64__)
+#define __STRICT_ANSI__
+#endif
 #include <stdlib.h> /* On many systems (e.g., Darwin), `stdio.h' is a prerequisite. */
 #include <stdarg.h>
 #include <string.h>