diff --git a/common/xash3d_types.h b/common/xash3d_types.h index 9b343e8c..7c1f3a84 100644 --- a/common/xash3d_types.h +++ b/common/xash3d_types.h @@ -23,7 +23,12 @@ typedef byte rgba_t[4]; // unsigned byte colorpack typedef byte rgb_t[3]; // unsigned byte colorpack typedef vec_t matrix3x4[3][4]; typedef vec_t matrix4x4[4][4]; + +#if XASH_64BIT typedef uint32_t poolhandle_t; +#else +typedef void* poolhandle_t; +#endif #undef true #undef false