diff options
author | nsz <nsz@port70.net> | 2012-10-21 02:31:04 +0200 |
---|---|---|
committer | nsz <nsz@port70.net> | 2012-10-21 02:31:04 +0200 |
commit | 2d321fa0627caa62272fcff8fb5303f1a5cbce39 (patch) | |
tree | 6b9b922b060bc4da2d8111bc4f5fe1b9ae7111b6 /include | |
parent | 0a1c2c1c1755d03d7d3db11df612bbe7c5b69c46 (diff) | |
download | musl-2d321fa0627caa62272fcff8fb5303f1a5cbce39.tar.gz musl-2d321fa0627caa62272fcff8fb5303f1a5cbce39.tar.bz2 musl-2d321fa0627caa62272fcff8fb5303f1a5cbce39.tar.xz musl-2d321fa0627caa62272fcff8fb5303f1a5cbce39.zip |
complex: make _Complex_I work with gcc -std=c99 -pedantic-errors
Diffstat (limited to 'include')
-rw-r--r-- | include/complex.h | 4 |
1 files changed, 4 insertions, 0 deletions
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); |