aboutsummaryrefslogtreecommitdiff
path: root/compat/mingw.h
diff options
context:
space:
mode:
authorJohannes Sixt <johannes.sixt@telecom.at>2008-06-22 11:35:21 +0200
committerJohannes Sixt <johannes.sixt@telecom.at>2008-06-26 08:47:16 +0200
commit6fd6aec44fe79dff61fd37a5fec2456c5458b574 (patch)
treedf6e0007c0043e10e7f3ace59775b1b80631f41a /compat/mingw.h
parentcc3b7a9732f940cb0249a12cb3c02e3d83723eb0 (diff)
downloadgit-6fd6aec44fe79dff61fd37a5fec2456c5458b574.tar.gz
git-6fd6aec44fe79dff61fd37a5fec2456c5458b574.tar.xz
Windows: TMP and TEMP environment variables specify a temporary directory.
Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at>
Diffstat (limited to 'compat/mingw.h')
-rw-r--r--compat/mingw.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/compat/mingw.h b/compat/mingw.h
index 624b32d1f..a87cc9679 100644
--- a/compat/mingw.h
+++ b/compat/mingw.h
@@ -145,6 +145,9 @@ int mingw_open (const char *filename, int oflags, ...);
char *mingw_getcwd(char *pointer, int len);
#define getcwd mingw_getcwd
+char *mingw_getenv(const char *name);
+#define getenv mingw_getenv
+
struct hostent *mingw_gethostbyname(const char *host);
#define gethostbyname mingw_gethostbyname