summaryrefslogtreecommitdiff
path: root/win32/perllib.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-11-23 02:18:38 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-11-23 02:18:38 +0000
commit32ce473141ad06fe2aa5547b7bbf3f499b3d98ff (patch)
treeb79abc067d35c6b9a2013a271ba07af809cbb5ae /win32/perllib.c
parent0fbcf8670f7b79320531d771f1271eec9c9e232d (diff)
downloadperl-32ce473141ad06fe2aa5547b7bbf3f499b3d98ff.tar.gz
get sources building on windows+MSVC again (untested with other
compilers) p4raw-id: //depot/perl@7827
Diffstat (limited to 'win32/perllib.c')
-rw-r--r--win32/perllib.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/win32/perllib.c b/win32/perllib.c
index 48843f92da..3b57efba8d 100644
--- a/win32/perllib.c
+++ b/win32/perllib.c
@@ -371,7 +371,9 @@ DllMain(HANDLE hModule, /* DLL module handle */
* process termination or call to FreeLibrary.
*/
case DLL_PROCESS_DETACH:
+#if !defined(PERLIO_IS_STDIO) && !defined(USE_SFIO)
PerlIO_cleanup();
+#endif
EndSockets();
#if defined(USE_THREADS) || defined(USE_ITHREADS)
if (PL_curinterp)