diff options
-rw-r--r-- | ext/POSIX/POSIX.xs | 19 | ||||
-rw-r--r-- | hints/dec_osf.sh | 3 |
2 files changed, 3 insertions, 19 deletions
diff --git a/ext/POSIX/POSIX.xs b/ext/POSIX/POSIX.xs index 9584d7e4cb..f68c1b11fc 100644 --- a/ext/POSIX/POSIX.xs +++ b/ext/POSIX/POSIX.xs @@ -411,25 +411,6 @@ #ifndef __GNUC__ -# if defined(__osf__) /* Tru64 */ -# undef c99_fdim -# undef c99_fma -# undef c99_fmax -# undef c99_fmin -# undef c99_fpclassify -# undef c99_isfinite -# undef c99_isinf -/* Tru64 is missing isunordered but we have emulation. */ -# undef c99_lrint -# undef c99_lround -# undef c99_nan /* in libm, but seems broken (no proto, either) */ -# undef c99_nearbyint -# undef c99_nexttoward -# undef c99_remquo -# undef c99_round -# undef c99_scalbn -# endif - #endif /* XXX Regarding C99 math.h, Win32 seems to be missing these: diff --git a/hints/dec_osf.sh b/hints/dec_osf.sh index 1897d6b91b..784eeb38fe 100644 --- a/hints/dec_osf.sh +++ b/hints/dec_osf.sh @@ -557,6 +557,9 @@ case "$ccflags" in ;; esac +# nan is in libm, but seems broken (there is no proto, either) +d_nan='undef' + # # Unset temporary variables no more needed. # |