summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Dubois <jand@activestate.com>2015-06-05 17:18:20 -0700
committerJan Dubois <jan@jandubois.com>2015-06-08 13:21:23 -0700
commit16ac183d95cef3f9028737e9949a7e78a750c9fe (patch)
tree958ee216d81be79c9180e8bcb339a84a6a3ea2b1
parent6f8f872e565093e8c0e9fdbbbfcebd7c65679c2e (diff)
downloadperl-16ac183d95cef3f9028737e9949a7e78a750c9fe.tar.gz
sunmath.h is only used for builds using long doubles
-rw-r--r--perl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl.h b/perl.h
index 2ece21483b..be9fc9a67e 100644
--- a/perl.h
+++ b/perl.h
@@ -4366,7 +4366,7 @@ static const union { unsigned int __i; float __f; } __PL_inf_u =
#if !defined(NV_NAN) && defined(QNAN)
# define NV_NAN (NV)QNAN
#endif
-#if !defined(NV_NAN) && defined(I_SUNMATH)
+#if !defined(NV_NAN) && defined(USE_LONG_DOUBLE) && defined(I_SUNMATH)
# define NV_NAN (NV)quiet_nan()
#endif
#if !defined(NV_NAN)