~ubuntu-branches/ubuntu/wily/luatex/wily

« back to all changes in this revision

Viewing changes to source/libs/zziplib/zziplib-0.13.58/zzip/__fnmatch.h

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Preining
  • Date: 2010-04-29 00:47:19 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20100429004719-o42etkqe90n97b9e
Tags: 0.60.1-1
* new upstream release, adapt build-script patch
* disable patch: upstream-epstopdf_cc_no_xpdf_patching, included upstream
* disable patch: libpoppler-0.12, not needed anymore

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef __ZZIP_INTERNAL_FNMATCH_H
 
2
#define __ZZIP_INTERNAL_FNMATCH_H
 
3
/** included by fseeko.c, mmapped.c, memdisk.c */
 
4
 
 
5
#include <zzip/conf.h>
 
6
#include <stdio.h>
 
7
 
 
8
#ifdef ZZIP_HAVE_FNMATCH_H
 
9
#include <fnmatch.h>
 
10
#endif
 
11
 
 
12
#ifdef ZZIP_HAVE_FNMATCH_H
 
13
#define _zzip_fnmatch fnmatch
 
14
# ifdef FNM_CASEFOLD
 
15
# define _zzip_fnmatch_CASEFOLD FNM_CASEFOLD
 
16
# else
 
17
# define _zzip_fnmatch_CASEFOLD 0
 
18
# endif
 
19
#else
 
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)
 
23
 
24
    fprintf (stderr, "<zzip:mmapped:strcmp>");
 
25
    return strcmp (pattern, string); 
 
26
}
 
27
#endif
 
28
 
 
29
#endif