path: root/src/3rdparty
diff options
authorJonathan Liu <>2012-12-18 00:37:11 +1100
committerThe Qt Project <>2012-12-18 16:22:13 +0100
commitdc2bfb6f8977732e1cd5ed9faac5a32870e2967a (patch)
treebb0fc37be3404a6794433848983de0a6de09d57c /src/3rdparty
parent51cf4215dc0777d0ed57e973c8343549f217bf54 (diff)
ANGLE: Fix typedefs for Win64
The long int type is incorrect for Windows 64-bit as LLP64 is used there. Change-Id: If4ccf49d6bb0cd7ba4ff2997cebfdbe5e7e9711c Reviewed-by: Sean Harmer <> Reviewed-by: Friedemann Kleint <>
Diffstat (limited to 'src/3rdparty')
1 files changed, 7 insertions, 0 deletions
diff --git a/src/3rdparty/angle/include/KHR/khrplatform.h b/src/3rdparty/angle/include/KHR/khrplatform.h
index 8ec0d199ff..56c676c77b 100644
--- a/src/3rdparty/angle/include/KHR/khrplatform.h
+++ b/src/3rdparty/angle/include/KHR/khrplatform.h
@@ -221,10 +221,17 @@ typedef signed char khronos_int8_t;
typedef unsigned char khronos_uint8_t;
typedef signed short int khronos_int16_t;
typedef unsigned short int khronos_uint16_t;
+#ifdef _WIN64
+typedef signed long long int khronos_intptr_t;
+typedef unsigned long long int khronos_uintptr_t;
+typedef signed long long int khronos_ssize_t;
+typedef unsigned long long int khronos_usize_t;
typedef signed long int khronos_intptr_t;
typedef unsigned long int khronos_uintptr_t;
typedef signed long int khronos_ssize_t;
typedef unsigned long int khronos_usize_t;