mirror of
				https://github.com/luanti-org/luanti.git
				synced 2025-11-04 01:05:48 +01:00 
			
		
		
		
	Hopefully fixed u64 to be the actual 64-bit type on 64-bit architectures. This should fix the compiler error caused by irrlicht on 64-bit fedora defining u64 to be different.
This commit is contained in:
		@@ -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
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user