]> Nishi Git Mirror - gwion.git/commitdiff
:wrench: Travis testing (fix windows/clang complex)
authorfennecdjay <astor.jeremie@wanadoo.fr>
Thu, 23 May 2019 12:09:11 +0000 (14:09 +0200)
committerfennecdjay <astor.jeremie@wanadoo.fr>
Thu, 23 May 2019 12:09:16 +0000 (14:09 +0200)
.travis.yml

index 22a0b5e555dfd37b869d773c7c54df0f48c1b626..71132d0fa2545fc30a4c921ac5a717d150433e2a 100644 (file)
@@ -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;
     }