diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1998-02-16 23:03:31 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1998-02-16 23:03:31 +0000 |
commit | 3730b96e60864694cf0c222f80e6ed2b3c27335b (patch) | |
tree | f70acb049af97a2aa37058987b4f89263fd7c9c4 /win32/win32.h | |
parent | 5684ad5c0ea74ae5ecd32ff6f6122e8335adfd9c (diff) | |
download | perl-3730b96e60864694cf0c222f80e6ed2b3c27335b.tar.gz |
[win32] fix mingw32 gcc 2.8.0 build (DLLs generated seem to be broken
in this version of gcc!)
p4raw-id: //depot/win32/perl@529
Diffstat (limited to 'win32/win32.h')
-rw-r--r-- | win32/win32.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/win32/win32.h b/win32/win32.h index 8d6b04197d..f730dea3aa 100644 --- a/win32/win32.h +++ b/win32/win32.h @@ -133,6 +133,9 @@ typedef long gid_t; typedef long uid_t; typedef long gid_t; +#define _environ environ +#define flushall _flushall +#define fcloseall _fcloseall #endif /* __MINGW32__ */ @@ -161,7 +164,8 @@ extern char * getlogin(void); DllExport void Perl_win32_init(int *argcp, char ***argvp); DllExport void Perl_init_os_extras(void); -DllExport void win32_str_os_error(struct sv *s, DWORD err); +/*DllExport void win32_str_os_error(struct sv *s, DWORD err);*/ +DllExport void win32_str_os_error(void *sv, DWORD err); #ifndef USE_SOCKETS_AS_HANDLES extern FILE * my_fdopen(int, char *); |