Add build support for 64-bit with g++.

This commit is contained in:
Tomer Barletz
2016-07-11 15:37:15 -07:00
parent 001ba71348
commit a9653b88e7
+4
View File
@@ -377,7 +377,11 @@ namespace crnd
#ifdef _WIN64
typedef uint64 ptr_bits;
#else
#ifdef __x86_64__
typedef uint64 ptr_bits;
#else
typedef uint32 ptr_bits;
#endif
#endif
template<typename T> struct int_traits { enum { cMin = crnd::cINT32_MIN, cMax = crnd::cINT32_MAX, cSigned = true }; };