Browse Source

common: redefine poolhandle_t back to pointer for 32-bit systems

pull/2/head
Alibek Omarov 2 years ago committed by GitHub
parent
commit
6e179346c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      common/xash3d_types.h

5
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 byte rgb_t[3]; // unsigned byte colorpack
typedef vec_t matrix3x4[3][4]; typedef vec_t matrix3x4[3][4];
typedef vec_t matrix4x4[4][4]; typedef vec_t matrix4x4[4][4];
#if XASH_64BIT
typedef uint32_t poolhandle_t; typedef uint32_t poolhandle_t;
#else
typedef void* poolhandle_t;
#endif
#undef true #undef true
#undef false #undef false

Loading…
Cancel
Save