From: Gisle Aas Date: Fri, 7 Apr 2006 16:08:26 +0000 (+0000) Subject: Make perl_fini() run when compiling perl with X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=666ad1ecc5b9fcbfb8872e71b09dcb0aefa4842e;p=p5sagit%2Fp5-mst-13.2.git Make perl_fini() run when compiling perl with the Sun WorkShop compiler. p4raw-id: //depot/perl@27736 --- diff --git a/perl.c b/perl.c index 1045c73..e69cc9c 100644 --- a/perl.c +++ b/perl.c @@ -1344,6 +1344,8 @@ perl_free(pTHXx) #if defined(__hpux) && !(defined(__ux_version) && __ux_version <= 1020) && !defined(__GNUC__) #pragma fini "perl_fini" +#elif defined(__sun) && !defined(__GNUC__) +#pragma fini (perl_fini) #endif static void