summaryrefslogtreecommitdiff
path: root/src/unix
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/unix
parent71a4c1f16ffc71bced673c5883d5ea621cc8d24f (diff)
downloadlibgit2-222d057c2228b7b19d198c3e36d036f3186b5b90.tar.gz
Create cross-platform setenv
Diffstat (limited to 'src/unix')
-rw-r--r--src/unix/posix.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/unix/posix.h b/src/unix/posix.h
index 5c74f0779..881e651f4 100644
--- a/src/unix/posix.h
+++ b/src/unix/posix.h
@@ -20,5 +20,6 @@
#define p_vsnprintf(b, c, f, a) vsnprintf(b, c, f, a)
#define p_snprintf(b, c, f, ...) snprintf(b, c, f, __VA_ARGS__)
#define p_mkstemp(p) mkstemp(p)
+#define p_setenv(n,v,o) setenv(n,v,o)
#endif