CVS update: /ccvs/lib/
[email protected] 28 May 2005 17:38:23 -0000
| Newsgroups | gmane.comp.version-control.cvs.cvs |
|---|---|
| Message-ID | <[email protected]> |
User: dprice Date: 05/05/28 10:38:23 Modified: /ccvs/lib/ ChangeLog, glob_.h Log: * glob_.h: s/MISSING_SYS_CDEFS_H/_SYS_CDEFS_H/. Add comment. File Changes: Directory: /ccvs/lib/ ===================== File [changed]: ChangeLog Url: https://ccvs.cvshome.org/source/browse/ccvs/lib/ChangeLog?r1=1.449&r2=1.450 Delta lines: +4 -0 ------------------- --- ChangeLog 27 May 2005 17:54:37 -0000 1.449 +++ ChangeLog 28 May 2005 17:38:20 -0000 1.450 @@ -1,3 +1,7 @@ +2005-05-28 Derek Price <[email protected]> + + * glob_.h: s/MISSING_SYS_CDEFS_H/_SYS_CDEFS_H/. Add comment. + 2005-05-27 Derek Price <[email protected]> * getlogin_r.h: Import new version from GNULIB. File [changed]: glob_.h Url: https://ccvs.cvshome.org/source/browse/ccvs/lib/glob_.h?r1=1.13&r2=1.14 Delta lines: +7 -1 ------------------- --- glob_.h 26 May 2005 17:30:33 -0000 1.13 +++ glob_.h 28 May 2005 17:38:20 -0000 1.14 @@ -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