summaryrefslogtreecommitdiff
path: root/src/posix.h
diff options
context:
space:
mode:
authorVicent Martí <tanoku@gmail.com>2011-09-25 06:52:01 -0700
committerVicent Martí <tanoku@gmail.com>2011-09-25 06:52:01 -0700
commitea4dad8ec4388a155836b6427afd018f8432af9d (patch)
tree2734fc788fdf3d4728ba611b384e7aad2b4ae7c1 /src/posix.h
parent76c15b7191daef64e862d54749bf205a746b18c1 (diff)
parentdd44887ac69f334ecf07e0a7be97c18e764539e8 (diff)
downloadlibgit2-ea4dad8ec4388a155836b6427afd018f8432af9d.tar.gz
Merge pull request #424 from carlosmn/access-unicode
Implment p_access and use it in git_fileutils_exists
Diffstat (limited to 'src/posix.h')
-rw-r--r--src/posix.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/posix.h b/src/posix.h
index d656e8ec0..497e21fb7 100644
--- a/src/posix.h
+++ b/src/posix.h
@@ -52,6 +52,7 @@ extern char* p_getenv(const char* name);
#define p_chdir(p) chdir(p)
#define p_rmdir(p) rmdir(p)
#define p_chmod(p,m) chmod(p, m)
+#define p_access(p,m) access(p,m)
#endif