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.c | |
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.c')
-rw-r--r-- | openbsd-compat/glob.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/openbsd-compat/glob.c b/openbsd-compat/glob.c index 2e2551866..e2fd7c27f 100644 --- a/openbsd-compat/glob.c +++ b/openbsd-compat/glob.c | |||
@@ -37,7 +37,8 @@ | |||
37 | #include "includes.h" | 37 | #include "includes.h" |
38 | #include <ctype.h> | 38 | #include <ctype.h> |
39 | 39 | ||
40 | #if !defined(HAVE_GLOB) || !defined(GLOB_HAS_ALTDIRFUNC) | 40 | #if !defined(HAVE_GLOB) || !defined(GLOB_HAS_ALTDIRFUNC) || \ |
41 | !defined(GLOB_HAS_GL_MATCHC) | ||
41 | 42 | ||
42 | #if defined(LIBC_SCCS) && !defined(lint) | 43 | #if defined(LIBC_SCCS) && !defined(lint) |
43 | #if 0 | 44 | #if 0 |
@@ -855,5 +856,6 @@ qprintf(str, s) | |||
855 | } | 856 | } |
856 | #endif | 857 | #endif |
857 | 858 | ||
858 | #endif /* !defined(HAVE_GLOB) || !defined(GLOB_HAS_ALTDIRFUNC) */ | 859 | #endif /* !defined(HAVE_GLOB) || !defined(GLOB_HAS_ALTDIRFUNC) || |
860 | !defined(GLOB_HAS_GL_MATCHC) */ | ||
859 | 861 | ||