This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Remove unneeded Tru64 cases.
authorJarkko Hietaniemi <jhi@iki.fi>
Thu, 13 Nov 2014 00:07:35 +0000 (19:07 -0500)
committerJarkko Hietaniemi <jhi@iki.fi>
Sat, 15 Nov 2014 00:01:49 +0000 (19:01 -0500)
ext/POSIX/POSIX.xs
hints/dec_osf.sh

index 9584d7e..f68c1b1 100644 (file)
 
 #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:
index 1897d6b..784eeb3 100644 (file)
@@ -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.
 #