wscript: conf.define instead of directly appending to DEFINES

This commit is contained in:
Alibek Omarov 2019-10-11 08:55:01 +03:00
parent 78baf568ae
commit 4705683ebc
1 changed files with 1 additions and 1 deletions

View File

@ -233,7 +233,7 @@ def configure(conf):
# check if we can use C99 tgmath
if conf.check_cc(header_name='tgmath.h', mandatory=False):
conf.env.append_unique('DEFINES', 'HAVE_TGMATH_H')
conf.env.define('HAVE_TGMATH_H', 1)
conf.env.DEDICATED = conf.options.DEDICATED
# we don't need game launcher on dedicated