Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K4Tpa-0007El-Tq for qemu-devel@nongnu.org; Fri, 06 Jun 2008 00:45:38 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K4TpZ-0007DN-2Z for qemu-devel@nongnu.org; Fri, 06 Jun 2008 00:45:38 -0400 Received: from [199.232.76.173] (port=51894 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K4TpY-0007D8-Tt for qemu-devel@nongnu.org; Fri, 06 Jun 2008 00:45:36 -0400 Received: from bay0-omc3-s36.bay0.hotmail.com ([65.54.246.236]:19862) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K4TpZ-0002rB-5Y for qemu-devel@nongnu.org; Fri, 06 Jun 2008 00:45:37 -0400 Message-ID: From: "C.W. Betts" Subject: RE: [Qemu-devel] [4675] Compile fix for Apple, by C.W. Date: Thu, 5 Jun 2008 21:45:35 -0700 In-Reply-To: References: Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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 My patch was based on a patch done by Alexander Graf. I was lazy and didn'= t credit him directly. Also, due to my Mail client not working with Hotmai= l right now, I have to use the web interface, which is a bit too slow for m= y tastes. ---------------------------------------- > To: qemu-devel@nongnu.org > From: ths@networkno.de > Date: Thu, 5 Jun 2008 23:06:46 +0000 > Subject: [Qemu-devel] [4675] Compile fix for Apple, by C.W. >=20 > Revision: 4675 > http://svn.sv.gnu.org/viewvc/?view=3Drev&root=3Dqemu&revision= =3D4675 > Author: ths > Date: 2008-06-05 23:06:46 +0000 (Thu, 05 Jun 2008) >=20 > Log Message: > ----------- > Compile fix for Apple, by C.W. Betts. >=20 > Modified Paths: > -------------- > trunk/dyngen-exec.h >=20 > Modified: trunk/dyngen-exec.h > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- 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__) || def= ined(__alpha__)=20 > +#if defined (__x86_64__) || defined(__ia64) || defined(__s390x__) || def= ined(__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__) || def= ined(__alpha__) > typedef signed long int64_t; > #else >=20 >=20 >=20 >=20 _________________________________________________________________ Enjoy 5 GB of free, password-protected online storage. http://www.windowslive.com/skydrive/overview.html?ocid=3DTXT_TAGLM_WL_Refre= sh_skydrive_062008=