From: Nguyễn Thái Ngọc Duy Date: Tue, 01 Jan 2013 02:44:03 GMT Subject: [PATCH v3 02/10] compat/fnmatch: respect NO_FNMATCH* even on glibc Message-ID: <1357008251-10014-3-git-send-email-pclouds@gmail.com> In-Reply-To: <1357008251-10014-1-git-send-email-pclouds@gmail.com> Signed-off-by: Nguyễn Thái Ngọc Duy --- compat/fnmatch/fnmatch.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/compat/fnmatch/fnmatch.c b/compat/fnmatch/fnmatch.c index 9473aed..6f7387d 100644 --- a/compat/fnmatch/fnmatch.c +++ b/compat/fnmatch/fnmatch.c @@ -55,7 +55,8 @@ program understand `configure --with-gnu-libc' and omit the object files, it is simpler to just do this in the source for each such file. */ -#if defined _LIBC || !defined __GNU_LIBRARY__ +#if defined NO_FNMATCH || defined NO_FNMATCH_CASEFOLD || \ + defined _LIBC || !defined __GNU_LIBRARY__ # if defined STDC_HEADERS || !defined isascii -- 1.8.0.rc2.23.g1fb49df