summaryrefslogtreecommitdiff
path: root/perl.c
diff options
context:
space:
mode:
Diffstat (limited to 'perl.c')
-rw-r--r--perl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl.c b/perl.c
index 063d96305a..02aab317c8 100644
--- a/perl.c
+++ b/perl.c
@@ -1004,7 +1004,7 @@ perl_free(pTHXx)
/* provide destructors to clean up the thread key when libperl is unloaded */
#ifndef WIN32 /* handled during DLL_PROCESS_DETACH in win32/perllib.c */
-#if defined(__hpux) && !defined(__GNUC__)
+#if defined(__hpux) && && __ux_version > 1020 && !defined(__GNUC__)
#pragma fini "perl_fini"
#endif