Rename fnmatchemu to just emu, because I'm sure we'll want to put more stuff

there.
This commit is contained in:
David Given
2019-07-08 23:21:49 +02:00
parent b0e905fdd0
commit 3b6ea24df5
6 changed files with 30 additions and 27 deletions

21
dep/emu/fnmatch.h Normal file
View File

@@ -0,0 +1,21 @@
#ifndef FNMATCH_H
#define FNMATCH_H
#ifdef __cplusplus
extern "C" {
#endif
#define FNM_NOMATCH 1 /* Match failed. */
#define FNM_NOESCAPE 0x01 /* Disable backslash escaping. */
#define FNM_PATHNAME 0x02 /* Slash must be matched by slash. */
#define FNM_PERIOD 0x04 /* Period must be matched by period. */
#define FNM_CASEFOLD 0x08 /* Fold cases */
extern int fnmatch(const char *pattern, const char *string, int flags);
#ifdef __cplusplus
}
#endif
#endif