diff options
author | Paul Betts <paul@paulbetts.org> | 2011-09-21 11:17:30 -0700 |
---|---|---|
committer | Paul Betts <paul@paulbetts.org> | 2011-09-21 12:00:34 -0700 |
commit | e1b86444676b70154bf8ab450d429bdef57a8276 (patch) | |
tree | 020b42f514cd78ddd44b4d38e0f57cd88f17616f /src/posix.h | |
parent | e3ecf7e9ab043e44ffd94729f27e3a0c434c355a (diff) | |
download | libgit2-e1b86444676b70154bf8ab450d429bdef57a8276.tar.gz |
Rewrite getenv to use Win32 version on Windows
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 48b0255bc..d656e8ec0 100644 --- a/src/posix.h +++ b/src/posix.h @@ -44,6 +44,7 @@ extern int p_write(git_file fd, const void *buf, size_t cnt); extern int p_open(const char *path, int flags); extern int p_creat(const char *path, int mode); extern int p_getcwd(char *buffer_out, size_t size); +extern char* p_getenv(const char* name); #ifndef GIT_WIN32 |