This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
complex.h / _Complex patch
- To: libc-alpha at sources dot redhat dot com
- Subject: complex.h / _Complex patch
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Date: Fri, 29 Sep 2000 23:56:28 +0100 (BST)
As the version number of CVS GCC has changed to 2.97, complex.h can use
_Complex now without needing to wait for GCC 3.0. Trivial patch:
--- complex.h Sat Sep 16 08:33:59 2000
+++ complex.h.new Fri Sep 29 22:53:52 2000
@@ -33,7 +33,7 @@
/* We might need to add support for more compilers here. But since ISO
C99 is out hopefully all maintained compilers will soon provide the data
types `float complex' and `double complex'. */
-#if __GNUC_PREREQ (2, 7) && !__GNUC_PREREQ (3, 0)
+#if __GNUC_PREREQ (2, 7) && !__GNUC_PREREQ (2, 97)
# define _Complex __complex__
#endif
--
Joseph S. Myers
jsm28@cam.ac.uk