fix crash in some cases

This commit is contained in:
nillerusr
2023-10-08 07:31:07 +03:00
parent 047f8b1185
commit b8558de63e
6 changed files with 12 additions and 6 deletions

View File

@@ -239,9 +239,9 @@ def define_platform(conf):
'_DLL_EXT=.so'
])
# if conf.env.DEST_OS != 'win32':
if conf.env.DEST_OS != 'win32':
conf.define('NO_MEMOVERRIDE_NEW_DELETE', 1)
# conf.define('NO_MALLOC_OVERRIDE', 1)
# conf.define('NO_MEMOVERRIDE_NEW_DELETE', 1)
if conf.options.DEBUG_ENGINE:
conf.env.append_unique('DEFINES', [