From 4f2ac237840677ffcb1b3ca30d04a4c2d360f7c7 Mon Sep 17 00:00:00 2001 From: bellard Date: Mon, 26 Apr 2004 19:44:02 +0000 Subject: amd64 port (Jocelyn Mayer) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@762 c046a42c-6fe2-441c-8c8c-71466251a162 --- dyngen-exec.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'dyngen-exec.h') 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) -- cgit v1.2.3