[Spice-devel] [PATCH] spicec-win: add #ifndef _WIN64 for u/intptr_t typedefs
Hans de Goede
hdegoede at redhat.com
Wed Oct 20 10:49:22 PDT 2010
Hmm, not pretty, but I assume it has been tested, so ack.
On 10/20/2010 06:16 PM, Arnon Gilboa wrote:
> ---
> client/windows/stdint.h | 4 +++-
> 1 files changed, 3 insertions(+), 1 deletions(-)
>
> diff --git a/client/windows/stdint.h b/client/windows/stdint.h
> index 8b94f37..45b133e 100644
> --- a/client/windows/stdint.h
> +++ b/client/windows/stdint.h
> @@ -136,11 +136,13 @@ typedef unsigned long long uint_fast64_t;
>
> /* 7.18.1.4 Integer types capable of holding object pointers */
>
> +#ifndef _WIN64
> +
> typedef int intptr_t;
>
> typedef unsigned uintptr_t;
>
> -
> +#endif
>
> /* 7.18.1.5 Greatest-width integer types */
>
More information about the Spice-devel
mailing list