diff options
author | Nils Dagsson Moskopp <nils@dieweltistgarnichtso.net> | 2011-07-20 14:20:07 +0200 |
---|---|---|
committer | Nils Dagsson Moskopp <nils@dieweltistgarnichtso.net> | 2011-07-20 14:20:07 +0200 |
commit | 9bc701d194ea9e2bc56c1c9c473d6602e6070d60 (patch) | |
tree | 4140a5f5e83240975f847797a8a17732dde2c6ba /src/common_irrlicht.h | |
parent | 2095b1581615f7b8c4f008886837fbbeaf75faec (diff) | |
parent | 74ef5b8a42aacaeef4bffeef59a7fddb3e14c17c (diff) | |
download | minetest-9bc701d194ea9e2bc56c1c9c473d6602e6070d60.tar.gz minetest-9bc701d194ea9e2bc56c1c9c473d6602e6070d60.tar.bz2 minetest-9bc701d194ea9e2bc56c1c9c473d6602e6070d60.zip |
Merge branch 'upstream/master'
Diffstat (limited to 'src/common_irrlicht.h')
-rw-r--r-- | src/common_irrlicht.h | 10 |
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 |