[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Qemu-devel] [4675] Compile fix for Apple, by C.W.
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 |
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 Hotmail
right now, I have to use the web interface, which is a bit too slow for my
tastes.
----------------------------------------
> To: address@hidden
> From: address@hidden
> Date: Thu, 5 Jun 2008 23:06:46 +0000
> Subject: [Qemu-devel] [4675] Compile fix for Apple, by C.W.
>
> 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
>
>
>
>
_________________________________________________________________
Enjoy 5 GB of free, password-protected online storage.
http://www.windowslive.com/skydrive/overview.html?ocid=TXT_TAGLM_WL_Refresh_skydrive_062008