Win64 commit: first little commit to test how it compiles on other plattforms - I...
[blender.git] / source / blender / blenloader / BLO_sys_types.h
index a1885894fe321912696cb1d37cac05ce7ec396b0..a519183a1e15a9b7c4cda6bf87afbb85831d98be 100644 (file)
@@ -64,6 +64,14 @@ typedef unsigned __int16 uint16_t;
 typedef unsigned __int32 uint32_t;
 typedef unsigned __int64 uint64_t;
 
+#ifdef _WIN64
+typedef __int64 intptr_t;
+typedef unsigned __int64 uintptr_t;
+#else
+typedef long intptr_t;
+typedef unsigned long uintptr_t;
+#endif
+
 #elif defined(__linux__)
 
        /* Linux-i386, Linux-Alpha, Linux-ppc */