fix undefined behaviours and jpeg crash on non-windows platforms

This commit is contained in:
nillerusr
2023-10-08 07:31:07 +03:00
parent 047f8b1185
commit 5a4d0b7a4d
4 changed files with 10 additions and 4 deletions
+2 -2
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', [