summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-12-15 14:16:56 +0000
committerAndreas Jaeger <aj@suse.de>2000-12-15 14:16:56 +0000
commit8ab5926a261825b43c8ce82b4c64541448b73869 (patch)
tree79f3d37289bb20c5e101b699f0d9d42472161632
parent940f075460476e9a4e9389be423acca40effd60c (diff)
downloadglibc-8ab5926a261825b43c8ce82b4c64541448b73869.tar.gz
glibc-8ab5926a261825b43c8ce82b4c64541448b73869.tar.xz
glibc-8ab5926a261825b43c8ce82b4c64541448b73869.zip
Update.
2000-12-15  Ben Collins  <bcollins@debian.org>

	* misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
	Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
-rw-r--r--ChangeLog5
-rw-r--r--misc/sys/cdefs.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index b893e78931..c06aeff89b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-12-15  Ben Collins  <bcollins@debian.org>
+
+	* misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
+	Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
+
 2000-12-14  H.J. Lu  <hjl@gnu.org>
 
 	* sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
diff --git a/misc/sys/cdefs.h b/misc/sys/cdefs.h
index 3d6a20bb52..f44440b2b7 100644
--- a/misc/sys/cdefs.h
+++ b/misc/sys/cdefs.h
@@ -101,7 +101,7 @@
 # ifdef __GNUC__
 #  define __flexarr	[0]
 # else
-#  ifdef __STDC_VERSION__ && __STDC_VERSION__ >= 199901L
+#  if defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L
 #   define __flexarr	[]
 #  else
 /* Some other non-C99 compiler.  Approximate with [1].  */