aboutsummaryrefslogtreecommitdiff
path: root/dyngen-exec.h
diff options
context:
space:
mode:
Diffstat (limited to 'dyngen-exec.h')
-rw-r--r--dyngen-exec.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/dyngen-exec.h b/dyngen-exec.h
index 004ca71cdf..ea20e395d6 100644
--- a/dyngen-exec.h
+++ b/dyngen-exec.h
@@ -25,12 +25,21 @@
typedef unsigned char uint8_t;
typedef unsigned short uint16_t;
typedef unsigned int uint32_t;
+/* XXX may be done for all 64 bits targets ? */
+#if defined (__x86_64__)
+typedef unsigned long uint64_t;
+#else
typedef unsigned long long uint64_t;
+#endif
typedef signed char int8_t;
typedef signed short int16_t;
typedef signed int int32_t;
+#if defined (__x86_64__)
+typedef signed long int64_t;
+#else
typedef signed long long int64_t;
+#endif
#define INT8_MIN (-128)
#define INT16_MIN (-32767-1)