compat/fnmatch: respect NO_FNMATCH* even on glibc

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Nguyễn Thái Ngọc Duy 2013-01-01 09:44:03 +07:00 коммит произвёл Junio C Hamano
Родитель 3a078dec33
Коммит 889316d252
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -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