summaryrefslogtreecommitdiff
path: root/win32/win32iop.h
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@engin.umich.edu>1997-04-05 23:31:11 -0500
committerChip Salzenberg <chip@atlantic.net>1997-04-04 00:00:00 +0000
commitdcb2879abe1a588042098f71cb130a72def08afb (patch)
treec07f969dda8b0f17c99a9ca1aa22548927abb147 /win32/win32iop.h
parent5b54f415353cb889898fb25391f5dff73990f3f2 (diff)
downloadperl-dcb2879abe1a588042098f71cb130a72def08afb.tar.gz
perlwin-97a_4: win32 environ fix
private-msgid: 199704060431.XAA23400@aatma.engin.umich.edu
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 d699e03ab6..eadc08f812 100644
--- a/win32/win32iop.h
+++ b/win32/win32iop.h
@@ -10,6 +10,7 @@
* function prototypes for our own win32io layer
*/
EXT int * win32_errno();
+EXT char *** win32_environ();
EXT FILE* win32_stdin(void);
EXT FILE* win32_stdout(void);
EXT FILE* win32_stderr(void);
@@ -77,6 +78,7 @@ void * SetIOSubSystem(void *piosubsystem);
*/
#ifndef WIN32IO_IS_STDIO
#undef errno
+#undef environ
#undef stderr
#undef stdin
#undef stdout
@@ -89,6 +91,7 @@ void * SetIOSubSystem(void *piosubsystem);
#define feof(f) win32_feof(f)
#define ferror(f) win32_ferror(f)
#define errno (*win32_errno())
+#define environ (*win32_environ())
#define strerror win32_strerror
/*