mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2024-12-22 17:47:38 +08:00
Undefine RESTRICT if GNUC due to ABI incompat between GCC and Clang.
This commit is contained in:
parent
9bdeb3743c
commit
a111d890da
@ -500,11 +500,7 @@ typedef void * HINSTANCE;
|
||||
#define FMTFUNCTION( a, b )
|
||||
#elif defined(GNUC)
|
||||
#define SELECTANY __attribute__((weak))
|
||||
#if defined(LINUX) && !defined(DEDICATED)
|
||||
#define RESTRICT
|
||||
#else
|
||||
#define RESTRICT __restrict
|
||||
#endif
|
||||
#define RESTRICT
|
||||
#define RESTRICT_FUNC
|
||||
// squirrel.h does a #define printf DevMsg which leads to warnings when we try
|
||||
// to use printf as the prototype format function. Using __printf__ instead.
|
||||
|
Loading…
Reference in New Issue
Block a user