mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-09-19 03:56:10 +08:00
Allow compilation on gcc/clang without -Wno-unknown-pragmas.
This commit is contained in:
@ -55,7 +55,9 @@ typedef void (Panel::*MessageFunc_t)(void);
|
||||
// Contains the information to map a string message name with parameters
|
||||
// to a function call
|
||||
//-----------------------------------------------------------------------------
|
||||
#ifdef _WIN32
|
||||
#pragma warning(disable:4121)
|
||||
#endif
|
||||
struct MessageMapItem_t
|
||||
{
|
||||
const char *name;
|
||||
|
Reference in New Issue
Block a user