forked from Mirrorlandia_minetest/minetest
Fixed u64 ambiguous symbol error
Fixed the compiler not being able to determine which symbol it should use when compiling Minetest as 64bit with Irrlicht 1.8+
This commit is contained in:
parent
05b58501f2
commit
40dac4cde4
@ -24,6 +24,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
|
||||
using namespace irr;
|
||||
|
||||
// Irrlicht 1.8+ defines 64bit unsigned symbol in irrTypes.h
|
||||
#if (IRRLICHT_VERSION_MAJOR == 1 && IRRLICHT_VERSION_MINOR < 8)
|
||||
#ifdef _MSC_VER
|
||||
// Windows
|
||||
typedef unsigned long long u64;
|
||||
@ -33,6 +35,7 @@ using namespace irr;
|
||||
typedef uint64_t u64;
|
||||
//typedef unsigned long long u64;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user