disable new/mallloc override on non-windows platforms( #299 )
This commit is contained in:
parent
6ba7d93841
commit
e8193bc7b6
1 changed files with 4 additions and 0 deletions
4
wscript
4
wscript
|
@ -239,6 +239,10 @@ def define_platform(conf):
|
||||||
'_DLL_EXT=.so'
|
'_DLL_EXT=.so'
|
||||||
])
|
])
|
||||||
|
|
||||||
|
if conf.env.DEST_OS != 'win32':
|
||||||
|
conf.define('NO_MALLOC_OVERRIDE', 1)
|
||||||
|
conf.define('NO_MEMOVERRIDE_NEW_DELETE', 1)
|
||||||
|
|
||||||
if conf.options.DEBUG_ENGINE:
|
if conf.options.DEBUG_ENGINE:
|
||||||
conf.env.append_unique('DEFINES', [
|
conf.env.append_unique('DEFINES', [
|
||||||
'DEBUG', '_DEBUG'
|
'DEBUG', '_DEBUG'
|
||||||
|
|
Loading…
Reference in a new issue