[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [4675] Compile fix for Apple, by C.W.
From: |
Thiemo Seufer |
Subject: |
[Qemu-devel] [4675] Compile fix for Apple, by C.W. |
Date: |
Thu, 05 Jun 2008 23:06:46 +0000 |
Revision: 4675
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4675
Author: ths
Date: 2008-06-05 23:06:46 +0000 (Thu, 05 Jun 2008)
Log Message:
-----------
Compile fix for Apple, by C.W. Betts.
Modified Paths:
--------------
trunk/dyngen-exec.h
Modified: trunk/dyngen-exec.h
===================================================================
--- trunk/dyngen-exec.h 2008-06-05 22:55:54 UTC (rev 4674)
+++ trunk/dyngen-exec.h 2008-06-05 23:06:46 UTC (rev 4675)
@@ -36,9 +36,9 @@
typedef unsigned short uint16_t;
typedef unsigned int uint32_t;
// Linux/Sparc64 defines uint64_t
-#if !(defined (__sparc_v9__) && defined(__linux__))
+#if !(defined (__sparc_v9__) && defined(__linux__)) && !(defined(__APPLE__) &&
defined(__x86_64__))
/* XXX may be done for all 64 bits targets ? */
-#if defined (__x86_64__) || defined(__ia64) || defined(__s390x__) ||
defined(__alpha__)
+#if defined (__x86_64__) || defined(__ia64) || defined(__s390x__) ||
defined(__alpha__)
typedef unsigned long uint64_t;
#else
typedef unsigned long long uint64_t;
@@ -54,7 +54,7 @@
typedef signed short int16_t;
typedef signed int int32_t;
// Linux/Sparc64 defines int64_t
-#if !(defined (__sparc_v9__) && defined(__linux__))
+#if !(defined (__sparc_v9__) && defined(__linux__)) && !(defined(__APPLE__) &&
defined(__x86_64__))
#if defined (__x86_64__) || defined(__ia64) || defined(__s390x__) ||
defined(__alpha__)
typedef signed long int64_t;
#else
- [Qemu-devel] [4675] Compile fix for Apple, by C.W.,
Thiemo Seufer <=