summaryrefslogtreecommitdiffstats
path: root/include/complex.h
diff options
context:
space:
mode:
authorstefanf <stefanf@FreeBSD.org>2004-08-14 18:03:21 +0000
committerstefanf <stefanf@FreeBSD.org>2004-08-14 18:03:21 +0000
commit04319f388a5f6812427146e66ea4efef65fd0c26 (patch)
treec96f31e6102c59d6549d1795ec57c4f600d6d2ca /include/complex.h
parent0fd20b0ee2353c63fe5d6c69c10f7ce0678d9cb0 (diff)
downloadFreeBSD-src-04319f388a5f6812427146e66ea4efef65fd0c26.zip
FreeBSD-src-04319f388a5f6812427146e66ea4efef65fd0c26.tar.gz
Stop defining '_Complex' in a C99 environment, it is supposed to be a keyword.
Diffstat (limited to 'include/complex.h')
-rw-r--r--include/complex.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/complex.h b/include/complex.h
index 6db7c88..502a178 100644
--- a/include/complex.h
+++ b/include/complex.h
@@ -30,7 +30,9 @@
#define _COMPLEX_H
#ifdef __GNUC__
+#if __STDC_VERSION__ < 199901
#define _Complex __complex__
+#endif
#define _Complex_I 1.0fi
#endif
OpenPOWER on IntegriCloud