mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2025-12-06 18:08:31 +00:00
Fix up the tf2, etc. sdk update convar fix
This commit is contained in:
parent
8641223767
commit
567084afd4
@ -178,7 +178,6 @@ class MMSConfig(object):
|
||||
'_CRT_SECURE_NO_DEPRECATE',
|
||||
'_CRT_SECURE_NO_WARNINGS',
|
||||
'_CRT_NONSTDC_NO_DEPRECATE',
|
||||
'_ALLOW_KEYWORD_MACROS',
|
||||
]
|
||||
cxx.cflags += [
|
||||
'/W3',
|
||||
|
||||
@ -37,6 +37,7 @@ for sdk_target in MMS.sdk_targets:
|
||||
'provider/source/provider_source_console.cpp',
|
||||
'vsp_bridge.cpp'
|
||||
]
|
||||
binary.compiler.defines += ['_ALLOW_KEYWORD_MACROS']
|
||||
|
||||
if cxx.target.arch == 'x86':
|
||||
binary.sources += ['sourcehook/sourcehook_hookmangen_x86.cpp']
|
||||
|
||||
@ -27,8 +27,14 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef META_IS_SOURCE2
|
||||
#define protected public
|
||||
#define private public
|
||||
#endif
|
||||
|
||||
#include <convar.h>
|
||||
|
||||
#ifndef META_IS_SOURCE2
|
||||
#undef protected
|
||||
#undef private
|
||||
#endif
|
||||
|
||||
Loading…
Reference in New Issue
Block a user