aboutsummaryrefslogtreecommitdiff
path: root/src/common_irrlicht.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common_irrlicht.h')
-rw-r--r--src/common_irrlicht.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/common_irrlicht.h b/src/common_irrlicht.h
index 785f4fec7..7ce5d8db7 100644
--- a/src/common_irrlicht.h
+++ b/src/common_irrlicht.h
@@ -35,7 +35,15 @@ typedef core::vector2d<s32> v2s32;
typedef core::vector2d<u32> v2u32;
typedef core::vector2d<f32> v2f32;
-typedef unsigned long long u64;
+#ifdef _MSC_VER
+ // Windows
+ typedef unsigned long long u64;
+#else
+ // Posix
+ #include <stdint.h>
+ typedef uint64_t u64;
+ //typedef unsigned long long u64;
+#endif
#endif