Add build support for 64-bit with g++.
This commit is contained in:
+5
-1
@@ -377,7 +377,11 @@ namespace crnd
|
|||||||
#ifdef _WIN64
|
#ifdef _WIN64
|
||||||
typedef uint64 ptr_bits;
|
typedef uint64 ptr_bits;
|
||||||
#else
|
#else
|
||||||
typedef uint32 ptr_bits;
|
#ifdef __x86_64__
|
||||||
|
typedef uint64 ptr_bits;
|
||||||
|
#else
|
||||||
|
typedef uint32 ptr_bits;
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
template<typename T> struct int_traits { enum { cMin = crnd::cINT32_MIN, cMax = crnd::cINT32_MAX, cSigned = true }; };
|
template<typename T> struct int_traits { enum { cMin = crnd::cINT32_MIN, cMax = crnd::cINT32_MAX, cSigned = true }; };
|
||||||
|
|||||||
Reference in New Issue
Block a user