complex.h / _Complex patch

Joseph S. Myers jsm28@cam.ac.uk
Fri Sep 29 15:56:00 GMT 2000


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



More information about the Libc-alpha mailing list