diff options
author | Vicent Martà <tanoku@gmail.com> | 2011-09-25 06:52:01 -0700 |
---|---|---|
committer | Vicent Martà <tanoku@gmail.com> | 2011-09-25 06:52:01 -0700 |
commit | ea4dad8ec4388a155836b6427afd018f8432af9d (patch) | |
tree | 2734fc788fdf3d4728ba611b384e7aad2b4ae7c1 /src/posix.h | |
parent | 76c15b7191daef64e862d54749bf205a746b18c1 (diff) | |
parent | dd44887ac69f334ecf07e0a7be97c18e764539e8 (diff) | |
download | libgit2-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.h | 1 |
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 |