diff options
| author | Paul Betts <paul@paulbetts.org> | 2011-09-19 10:34:52 -0700 |
|---|---|---|
| committer | Paul Betts <paul@paulbetts.org> | 2011-09-19 10:34:52 -0700 |
| commit | 222d057c2228b7b19d198c3e36d036f3186b5b90 (patch) | |
| tree | a4e93e79f428c0aa1598abff55b993133f286c99 /src/win32/posix.h | |
| parent | 71a4c1f16ffc71bced673c5883d5ea621cc8d24f (diff) | |
| download | libgit2-222d057c2228b7b19d198c3e36d036f3186b5b90.tar.gz | |
Create cross-platform setenv
Diffstat (limited to 'src/win32/posix.h')
| -rw-r--r-- | src/win32/posix.h | 1 |
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 |
