summaryrefslogtreecommitdiff
path: root/src/win32/posix.h
diff options
context:
space:
mode:
authorCarlos Martín Nieto <carlos@cmartin.tk>2011-09-23 00:00:05 +0200
committerCarlos Martín Nieto <carlos@cmartin.tk>2011-09-23 00:00:05 +0200
commitdd44887ac69f334ecf07e0a7be97c18e764539e8 (patch)
tree597841cad6a7332bfab273ff1ef3084f40f5ff72 /src/win32/posix.h
parent01ab592b82c4051df2be6066d7dfa59696cd453d (diff)
downloadlibgit2-dd44887ac69f334ecf07e0a7be97c18e764539e8.tar.gz
Implment p_access and use it in git_fileutils_exists
Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
Diffstat (limited to 'src/win32/posix.h')
-rw-r--r--src/win32/posix.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/win32/posix.h b/src/win32/posix.h
index 4c45fd3e4..d82506ab5 100644
--- a/src/win32/posix.h
+++ b/src/win32/posix.h
@@ -43,6 +43,6 @@ extern int p_stat(const char* path, struct stat* buf);
extern int p_chdir(const char* path);
extern int p_chmod(const char* path, int mode);
extern int p_rmdir(const char* path);
-
+extern int p_access(const char* path, int mode);
#endif