summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnon Gilboa <agilboa@redhat.com>2010-10-20 18:07:23 +0200
committerArnon Gilboa <agilboa@redhat.com>2010-10-24 16:33:01 +0200
commit3d08b908b4c7d260d090094abcb8c287334a6b28 (patch)
tree2c4c649975ed945ea822367ee65405546e3f0059
parent66d89ee04fe56ec22396448c90bc3ffa3194f978 (diff)
downloadspice-3d08b908b4c7d260d090094abcb8c287334a6b28.tar.gz
spice-3d08b908b4c7d260d090094abcb8c287334a6b28.tar.xz
spice-3d08b908b4c7d260d090094abcb8c287334a6b28.zip
spicec-win: add #ifndef _WIN64 for u/intptr_t typedefs
-rw-r--r--client/windows/stdint.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/client/windows/stdint.h b/client/windows/stdint.h
index 8b94f37e..45b133e8 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 */