Mercurial > hg > octave-kai > gnulib-hg
changeset 5900:bf265b6cdd9d
Sync from cvs.
* glob_.h: s/MISSING_SYS_CDEFS_H/_SYS_CDEFS_H/ and comment.
author | Derek R. Price <derek@ximbiot.com> |
---|---|
date | Tue, 31 May 2005 21:01:15 +0000 |
parents | b8fe29ca842c |
children | fade30172414 |
files | lib/ChangeLog lib/glob_.h |
diffstat | 2 files changed, 13 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -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>
--- a/lib/glob_.h +++ b/lib/glob_.h @@ -19,7 +19,13 @@ #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