diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-03-17 01:15:38 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-03-17 01:15:38 +0000 |
commit | 45b14dbddc244bba8c17d71186c2bc49b355636a (patch) | |
tree | 379b4872dcd775fc18feff237342aa331d63031a /openbsd-compat/glob.h | |
parent | 7bb8b49596156b85df403d09c2195e2533ec372c (diff) |
- Check for gl_matchc support in glob_t and fall back to the
openbsd-compat/glob.[ch] support if it does not exist.
Diffstat (limited to 'openbsd-compat/glob.h')
-rw-r--r-- | openbsd-compat/glob.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/openbsd-compat/glob.h b/openbsd-compat/glob.h index 392c63b67..a08cee572 100644 --- a/openbsd-compat/glob.h +++ b/openbsd-compat/glob.h | |||
@@ -39,7 +39,8 @@ | |||
39 | * @(#)glob.h 8.1 (Berkeley) 6/2/93 | 39 | * @(#)glob.h 8.1 (Berkeley) 6/2/93 |
40 | */ | 40 | */ |
41 | 41 | ||
42 | #if !defined(HAVE_GLOB_H) || !defined(GLOB_HAS_ALTDIRFUNC) | 42 | #if !defined(HAVE_GLOB_H) || !defined(GLOB_HAS_ALTDIRFUNC) || \ |
43 | !defined(GLOB_HAS_GL_MATCHC) | ||
43 | 44 | ||
44 | #ifndef _GLOB_H_ | 45 | #ifndef _GLOB_H_ |
45 | #define _GLOB_H_ | 46 | #define _GLOB_H_ |
@@ -94,5 +95,6 @@ void globfree __P((glob_t *)); | |||
94 | 95 | ||
95 | #endif /* !_GLOB_H_ */ | 96 | #endif /* !_GLOB_H_ */ |
96 | 97 | ||
97 | #endif /* !defined(HAVE_GLOB_H) || !defined(GLOB_HAS_ALTDIRFUNC) */ | 98 | #endif /* !defined(HAVE_GLOB_H) || !defined(GLOB_HAS_ALTDIRFUNC) || |
99 | !defined(GLOB_HAS_GL_MATCHC */ | ||
98 | 100 | ||