projects
/
zefram
/
minetest
/
minetest_engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
496e783
)
Hopefully fixed u64 to be the actual 64-bit type on 64-bit architectures. This should...
author
Perttu Ahola
<celeron55@gmail.com>
Sun, 17 Jul 2011 16:32:06 +0000
(19:32 +0300)
committer
Perttu Ahola
<celeron55@gmail.com>
Sun, 17 Jul 2011 16:32:06 +0000
(19:32 +0300)
src/common_irrlicht.h
patch
|
blob
|
history
diff --git
a/src/common_irrlicht.h
b/src/common_irrlicht.h
index 785f4fec7646e48e5a02fdd6458d97963491d49b..7ce5d8db79d0a6faf4c88b64592d14cf1866f6ec 100644
(file)
--- 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