diff options
author | Jari Aalto <jari.aalto@cante.net> | 2004-07-27 13:29:18 +0000 |
---|---|---|
committer | Jari Aalto <jari.aalto@cante.net> | 2009-09-12 16:46:56 +0000 |
commit | b80f6443b6b7b620c7272664c66ecb0b120a0998 (patch) | |
tree | 9f71c98d8fe8fa0f41d95e1eb4227f32a09d43ca /lib/glob/strmatch.h | |
parent | 7117c2d221b2aed4ede8600f6a36b7c1454b4f55 (diff) | |
download | bash-b80f6443b6b7b620c7272664c66ecb0b120a0998.tar.gz |
Imported from ../bash-3.0.tar.gz.
Diffstat (limited to 'lib/glob/strmatch.h')
-rw-r--r-- | lib/glob/strmatch.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/lib/glob/strmatch.h b/lib/glob/strmatch.h index d31e5929..74714446 100644 --- a/lib/glob/strmatch.h +++ b/lib/glob/strmatch.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991-2004 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -19,11 +19,7 @@ not, write to the Free Software Foundation, Inc., #ifndef _STRMATCH_H #define _STRMATCH_H 1 -#ifdef HAVE_LIBC_FNM_EXTMATCH - -#include <fnmatch.h> - -#else /* !HAVE_LIBC_FNM_EXTMATCH */ +#include <config.h> #include "stdc.h" @@ -59,6 +55,8 @@ not, write to the Free Software Foundation, Inc., returning zero if it matches, FNM_NOMATCH if not. */ extern int strmatch __P((char *, char *, int)); -#endif /* !HAVE_LIBC_FNM_EXTMATCH */ +#if HANDLE_MULTIBYTE +extern int wcsmatch __P((wchar_t *, wchar_t *, int)); +#endif #endif /* _STRMATCH_H */ |