Sync from cvs.
authorDerek R. Price <derek@ximbiot.com>
Tue, 31 May 2005 21:01:15 +0000 (21:01 +0000)
committerDerek R. Price <derek@ximbiot.com>
Tue, 31 May 2005 21:01:15 +0000 (21:01 +0000)
* glob_.h: s/MISSING_SYS_CDEFS_H/_SYS_CDEFS_H/ and comment.

lib/ChangeLog
lib/glob_.h

index 2f91443bd86de89d2f10438cb4b5f1ecbf14c349..d95b246de0dc49e03d6e19f088f1812333b9c823 100644 (file)
@@ -1,3 +1,9 @@
+2005-05-31  Derek Price  <derek@ximbiot.com>
+           Paul Eggert  <eggert@cs.ucla.edu>
+
+       Sync from cvs.
+       * glob_.h: s/MISSING_SYS_CDEFS_H/_SYS_CDEFS_H/ and comment.
+
 2005-05-29  Derek Price  <derek@ximbiot.com>
            Paul Eggert  <eggert@cs.ucla.edu>
 
index 63e8ccb2e231b76406eef7f11e46911e8397301d..00edbddb098bf5ea10f0f9ae252f3faaf5e39a37 100644 (file)
 #ifndef        _GLOB_H
 #define        _GLOB_H 1
 
-#ifndef MISSING_SYS_CDEFS_H
+/* Note the reversal of the common HAVE_SYS_CDEFS_H idiom below.  In this
+   way, #ifndef _SYS_CDEFS_H may be used to include <sys/cdefs.h> both when
+   it has been checked for via the GNULIB configure test and found and when
+   it has not been checked for, which we can presume means that the <glob.h>
+   GNULIB shares with GLIBC is being included as a system header and not as
+   part of GNULIB, in which case <sys/cdefs.h> may be assumed.  */
+#ifndef _SYS_CDEFS_H
 # include <sys/cdefs.h>
 #endif
 #ifndef __BEGIN_DECLS