From 4705683ebc0855234452b3e9885ae1ae0151490f Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Fri, 11 Oct 2019 08:55:01 +0300 Subject: [PATCH] wscript: conf.define instead of directly appending to DEFINES --- wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wscript b/wscript index a64d26e8..1f57ba82 100644 --- a/wscript +++ b/wscript @@ -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