diff options
author | Vicent Marti <tanoku@gmail.com> | 2011-07-06 03:04:04 +0400 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2011-07-06 03:04:04 +0400 |
commit | e9c6571d7fd39c82232fd965544ce34c6974a441 (patch) | |
tree | 13d699955905de73aa437b0c1ea46e4bc20e00d9 /src/unix | |
parent | 6507743400b8189d31aa49f775fd06b2ed504fbd (diff) |
fnmatch: Use native on Unix, emulate on Win32
Diffstat (limited to 'src/unix')
-rw-r--r-- | src/unix/posix.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/unix/posix.h b/src/unix/posix.h index 079373919..d52aa095c 100644 --- a/src/unix/posix.h +++ b/src/unix/posix.h @@ -2,6 +2,7 @@ #define INCLUDE_posix__w32_h__ #include "common.h" +#include <fnmatch.h> #define p_lstat(p,b) lstat(p,b) #define p_readlink(a, b, c) readlink(a, b, c) @@ -10,5 +11,6 @@ #define p_mkdir(p,m) mkdir(p, m) #define p_fsync(fd) fsync(fd) #define p_realpath(p, po) realpath(p, po) +#define p_fnmatch(p, s, f) fnmatch(p, s, f) #endif |