Mercurial > hg > octave-lyh
changeset 2863:c797308a1562
[project @ 1997-04-16 21:22:05 by jwe]
author | jwe |
---|---|
date | Wed, 16 Apr 1997 21:22:10 +0000 |
parents | 95e85daad148 |
children | 9f26c1f9c1c7 |
files | glob/ChangeLog glob/glob.h |
diffstat | 2 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/glob/ChangeLog +++ b/glob/ChangeLog @@ -1,3 +1,7 @@ +Wed Apr 16 16:21:37 1997 John W. Eaton <jwe@bevo.che.wisc.edu> + + * glob.h ("C"): Check _GNU_SOURCE, not _BSD_SOURCE. + Wed Mar 12 17:00:54 1997 John W. Eaton <jwe@bevo.che.wisc.edu> * Makefile.in (install-strip): New target.
--- a/glob/glob.h +++ b/glob/glob.h @@ -52,7 +52,7 @@ GLOB_PERIOD|GLOB_ALTDIRFUNC|GLOB_BRACE| \ GLOB_NOMAGIC|GLOB_TILDE) -#if !defined (_POSIX_C_SOURCE) || _POSIX_C_SOURCE < 2 || defined (_BSD_SOURCE) +#if !defined (_POSIX_C_SOURCE) || _POSIX_C_SOURCE < 2 || defined (_GNU_SOURCE) #define GLOB_MAGCHAR (1 << 8)/* Set in gl_flags if any metachars seen. */ #define GLOB_ALTDIRFUNC (1 << 9)/* Use gl_opendir et al functions. */ #define GLOB_BRACE (1 << 10)/* Expand "{a,b}" to "a" "b". */