Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K4OXi-0003Ua-7Z for qemu-devel@nongnu.org; Thu, 05 Jun 2008 19:06:50 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K4OXf-0003UO-QG for qemu-devel@nongnu.org; Thu, 05 Jun 2008 19:06:48 -0400 Received: from [199.232.76.173] (port=35742 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K4OXf-0003UL-Lz for qemu-devel@nongnu.org; Thu, 05 Jun 2008 19:06:47 -0400 Received: from savannah.gnu.org ([199.232.41.3]:56946 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K4OXf-0002LK-DV for qemu-devel@nongnu.org; Thu, 05 Jun 2008 19:06:47 -0400 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1K4OXe-0005tM-U1 for qemu-devel@nongnu.org; Thu, 05 Jun 2008 23:06:47 +0000 Received: from ths by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1K4OXe-0005tI-OM for qemu-devel@nongnu.org; Thu, 05 Jun 2008 23:06:46 +0000 MIME-Version: 1.0 Errors-To: ths Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Thiemo Seufer Message-Id: Date: Thu, 05 Jun 2008 23:06:46 +0000 Subject: [Qemu-devel] [4675] Compile fix for Apple, by C.W. Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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