Skip to content

Commit 035861b

Browse files
committed
disable new/mallloc override on non-windows platforms( #299 )
1 parent a709667 commit 035861b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

wscript

+4
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,10 @@ def define_platform(conf):
239239
'_DLL_EXT=.so'
240240
])
241241

242+
if conf.env.DEST_OS != 'win32':
243+
conf.define('NO_MALLOC_OVERRIDE', 1)
244+
conf.define('NO_MEMOVERRIDE_NEW_DELETE', 1)
245+
242246
if conf.options.DEBUG_ENGINE:
243247
conf.env.append_unique('DEFINES', [
244248
'DEBUG', '_DEBUG'

0 commit comments

Comments
 (0)