mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
common: xash3d_types: undefine ARRAYSIZE before defining our ARRAYSIZE (actually we should stop using ARRAYSIZE instead)
This commit is contained in:
@@ -122,6 +122,10 @@ typedef int qboolean;
|
||||
#define EXPORT __declspec( dllexport )
|
||||
#endif
|
||||
|
||||
#ifdef ARRAYSIZE
|
||||
#undef ARRAYSIZE
|
||||
#endif // ARRAYSIZE
|
||||
|
||||
#define ARRAYSIZE( p ) ( sizeof(( p ))/ sizeof(( p )[0] ))
|
||||
|
||||
#if defined( __SANITIZE_ADDRESS__ )
|
||||
|
||||
Reference in New Issue
Block a user