Skip to content

Commit

Permalink
compat/fnmatch: respect NO_FNMATCH* even on glibc
Browse files Browse the repository at this point in the history
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Nguyễn Thái Ngọc Duy authored and Junio C Hamano committed Jan 1, 2013
1 parent 3a078de commit 889316d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion compat/fnmatch/fnmatch.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 889316d

Please sign in to comment.