summaryrefslogtreecommitdiff
path: root/perlio.c
diff options
context:
space:
mode:
authorNick Ing-Simmons <nik@tiuk.ti.com>2000-12-07 00:28:14 +0000
committerNick Ing-Simmons <nik@tiuk.ti.com>2000-12-07 00:28:14 +0000
commitbe696b0a6b61315b71a751e7291be8d8a9066650 (patch)
tree1ee4dbabae8472c2c10dcf37400d2bd0bded1f8f /perlio.c
parent09d07117a25f373d4ba86aa5269d3ad5305da70d (diff)
downloadperl-be696b0a6b61315b71a751e7291be8d8a9066650.tar.gz
Various attempts at MSVC debug - not sure what has
changed but works now. Seems atexit() _may_ work for DLLs built with MSVC so don't call cleanup that way. p4raw-id: //depot/perlio@8021
Diffstat (limited to 'perlio.c')
-rw-r--r--perlio.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/perlio.c b/perlio.c
index 4ffcc2ec57..a0856afbbb 100644
--- a/perlio.c
+++ b/perlio.c
@@ -2957,7 +2957,9 @@ PerlIO_init(void)
{
if (!_perlio)
{
+#ifndef WIN32
atexit(&PerlIO_cleanup);
+#endif
}
}