X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;ds=sidebyside;f=include%2Fcomplex.h;h=b4bcb22efc818d05a294bf86e7bb178ea986dbb8;hb=32d6d77e544dbb1d9c44cacfc2ea0cbfe5ccfdef;hp=436f32f49c77fcb424cbb776be2872810c6b67e8;hpb=494ba80e9a7f43be76dfee908bbd40ad0b608041;p=musl diff --git a/include/complex.h b/include/complex.h index 436f32f4..b4bcb22e 100644 --- a/include/complex.h +++ b/include/complex.h @@ -6,7 +6,11 @@ extern "C" { #endif #define complex _Complex +#ifdef __GNUC__ +#define _Complex_I (__extension__ 1.0fi) +#else #define _Complex_I 1.0fi +#endif #define I _Complex_I double complex cacos(double complex);