This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
make "\N{...}" enable utf8-ness correctly
[perl5.git] / unixish.h
index c9a5495..1168d29 100644 (file)
--- a/unixish.h
+++ b/unixish.h
 /* these should be set in a hint file, not here */
 #ifndef PERL_SYS_INIT
 #if defined(PERL_SCO5) || defined(__FreeBSD__)
+#  ifdef __FreeBSD__
+#    include <floatingpoint.h>
+#  endif
 #  define PERL_SYS_INIT(c,v)   fpsetmask(0); MALLOC_INIT
 #else
 #  ifdef POSIX_BC
 #endif
 
 #ifndef PERL_SYS_TERM
-#define PERL_SYS_TERM()                MALLOC_TERM
+#define PERL_SYS_TERM()                OP_REFCNT_TERM; MALLOC_TERM
 #endif
 
 #define BIT_BUCKET "/dev/null"