summaryrefslogtreecommitdiff
path: root/win32/win32iop.h
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-02-12 11:49:25 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-02-12 11:49:25 +0000
commitac5c734f32ccd9787762253192de0d559609abae (patch)
tree9a652b97ea5faa3c9379b58275b5a101e2076b90 /win32/win32iop.h
parenta2093a06980c0ef77ac4631e8b8f383be904f06a (diff)
downloadperl-ac5c734f32ccd9787762253192de0d559609abae.tar.gz
support win32_putenv()
p4raw-id: //depot/perl@2898
Diffstat (limited to 'win32/win32iop.h')
-rw-r--r--win32/win32iop.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/win32/win32iop.h b/win32/win32iop.h
index 12fe63e38f..c7a74444e0 100644
--- a/win32/win32iop.h
+++ b/win32/win32iop.h
@@ -115,6 +115,7 @@ DllExport long win32_get_osfhandle(int fd);
#ifndef USE_WIN32_RTL_ENV
DllExport char* win32_getenv(const char *name);
+DllExport int win32_putenv(const char *name);
#endif
DllExport unsigned win32_sleep(unsigned int);
@@ -279,6 +280,8 @@ END_EXTERN_C
#ifndef USE_WIN32_RTL_ENV
#undef getenv
#define getenv win32_getenv
+#undef putenv
+#define putenv win32_putenv
#endif
#endif /* WIN32IO_IS_STDIO */