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

index 3d84f019edbb1758350659aa94c3ce11a96aebf3..271ad0c4cba352d1f6be253e785ca2de387e3595 100644 (file)
@@ -63,8 +63,8 @@ script:
       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'";
+      then export CFLAGS+=" -Dm_complex='struct _C_float_complex'";
+      else export CFLAGS+=" -Dm_complex='struct _C_double_complex'";
       fi
       fi;
       make.exe && make.exe test;