summaryrefslogtreecommitdiff
path: root/src/win32/posix.h
diff options
context:
space:
mode:
authorPaul Betts <paul@paulbetts.org>2011-09-19 10:34:52 -0700
committerPaul Betts <paul@paulbetts.org>2011-09-19 10:34:52 -0700
commit222d057c2228b7b19d198c3e36d036f3186b5b90 (patch)
treea4e93e79f428c0aa1598abff55b993133f286c99 /src/win32/posix.h
parent71a4c1f16ffc71bced673c5883d5ea621cc8d24f (diff)
downloadlibgit2-222d057c2228b7b19d198c3e36d036f3186b5b90.tar.gz
Create cross-platform setenv
Diffstat (limited to 'src/win32/posix.h')
-rw-r--r--src/win32/posix.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/win32/posix.h b/src/win32/posix.h
index db4ec19ec..58fd05007 100644
--- a/src/win32/posix.h
+++ b/src/win32/posix.h
@@ -32,5 +32,6 @@ extern char *p_realpath(const char *orig_path, char *buffer);
extern int p_vsnprintf(char *buffer, size_t count, const char *format, va_list argptr);
extern int p_snprintf(char *buffer, size_t count, const char *format, ...) GIT_FORMAT_PRINTF(3, 4);
extern int p_mkstemp(char *tmp_path);
+extern int p_setenv(const char* name, const char* value, int overwrite);
#endif