diff --git a/common/xash3d_types.h b/common/xash3d_types.h index e690adb6..405b14c3 100644 --- a/common/xash3d_types.h +++ b/common/xash3d_types.h @@ -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__ )