summaryrefslogtreecommitdiff
path: root/sdk/recipes/patches/spidermonkey/ppc-amigaos-1.7.0/jscpucfg.c.p
blob: 436e25de9c4a2c480e327475d35cdc8f6fb97ee2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- js/src/jscpucfg.c	2007-06-29 20:30:27 
+++ js-amiga/src/jscpucfg.c	2012-07-06 23:27:54 
@@ -53,6 +53,10 @@
 
 /* Generate cpucfg.h */
 
+#ifdef XP_AMIGA
+#include <exec/types.h>
+#define INT64 ULONG
+#else
 #if defined(XP_WIN) || defined(XP_OS2)
 #ifdef WIN32
 #if defined(__GNUC__)
@@ -70,6 +74,7 @@
 #define INT64   long long
 #endif
 #endif
+#endif
 
 #endif /* CROSS_COMPILE */