projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a078de
)
compat/fnmatch: respect NO_FNMATCH* even on glibc
author
Nguyễn Thái Ngọc Duy
<pclouds@gmail.com>
Tue, 1 Jan 2013 02:44:03 +0000
(09:44 +0700)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 1 Jan 2013 23:32:36 +0000
(15:32 -0800)
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
compat/fnmatch/fnmatch.c
patch
|
blob
|
history
diff --git
a/compat/fnmatch/fnmatch.c
b/compat/fnmatch/fnmatch.c
index 9473aed2bbcb91994f166cf66d24459c66ac2fcb..6f7387d036984ae52119a952f28a74d34536b8bd 100644
(file)
--- 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