@@ -286,6 +286,10 @@ class MMSConfig(object):
else: # todo: is it better to check compiler.behavior?
compiler.defines += ['COMPILER_GCC']
+ if sdk.name in ['css', 'hl2dm', 'dods', 'sdk2013', 'bms', 'tf2', 'l4d', 'nucleardawn', 'l4d2', 'dota', 'pvkii']:
+ if builder.target.platform in ['linux', 'mac']:
+ compiler.defines += ['NO_HOOK_MALLOC', 'NO_MALLOC_OVERRIDE']
+
for path in paths:
compiler.cxxincludes += [os.path.join(sdk.path, *path)]