1 #ifndef __ZZIP_INTERNAL_FNMATCH_H
2 #define __ZZIP_INTERNAL_FNMATCH_H
3 /** included by fseeko.c, mmapped.c, memdisk.c */
8 #ifdef ZZIP_HAVE_FNMATCH_H
12 #ifdef ZZIP_HAVE_FNMATCH_H
13 #define _zzip_fnmatch fnmatch
15 # define _zzip_fnmatch_CASEFOLD FNM_CASEFOLD
17 # define _zzip_fnmatch_CASEFOLD 0
20 # define _zzip_fnmatch_CASEFOLD 0
21 /* if your system does not have fnmatch, we fall back to strcmp: */
22 static int _zzip_fnmatch(char* pattern, char* string, int flags)
24 fprintf (stderr, "<zzip:mmapped:strcmp>");
25 return strcmp (pattern, string);