Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src/unix
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2011-07-06 03:04:04 +0400
committerVicent Marti <tanoku@gmail.com>2011-07-06 03:04:04 +0400
commite9c6571d7fd39c82232fd965544ce34c6974a441 (patch)
tree13d699955905de73aa437b0c1ea46e4bc20e00d9 /src/unix
parent6507743400b8189d31aa49f775fd06b2ed504fbd (diff)
fnmatch: Use native on Unix, emulate on Win32
Diffstat (limited to 'src/unix')
-rw-r--r--src/unix/posix.h2
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