From: fennecdjay Date: Thu, 23 May 2019 12:09:11 +0000 (+0200) Subject: :wrench: Travis testing (fix windows/clang complex) X-Git-Tag: nightly~2445^2~32 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=07b65c48fd9740d0c496937e0bdda4246b6cbf9c;p=gwion.git :wrench: Travis testing (fix windows/clang complex) --- diff --git a/.travis.yml b/.travis.yml index 22a0b5e5..71132d0f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -62,6 +62,10 @@ script: else { if [ "$CC" = "clang" ]; then export CFLAGS+="-DSSIZE_T=ssize_t -D_USE_MATH_DEFINES"; + if [ "$USE_DOUBLE" = 0 ]; + then export CFLAGS+="-Dm_uint=struct _C_float_complex"; + else export CFLAGS+="-Dm_uint=struct _C_double_complex"; + fi fi; make.exe && make.exe test; }