aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llmath/llmath.h
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/llmath/llmath.h')
-rw-r--r--linden/indra/llmath/llmath.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/linden/indra/llmath/llmath.h b/linden/indra/llmath/llmath.h
index dd44e0c..9be2524 100644
--- a/linden/indra/llmath/llmath.h
+++ b/linden/indra/llmath/llmath.h
@@ -42,6 +42,9 @@
42#elif (LL_LINUX && __GNUC__ <= 2) 42#elif (LL_LINUX && __GNUC__ <= 2)
43#define llisnan(val) isnan(val) 43#define llisnan(val) isnan(val)
44#define llfinite(val) isfinite(val) 44#define llfinite(val) isfinite(val)
45#elif LL_SOLARIS
46#define llisnan(val) isnan(val)
47#define llfinite(val) (val <= std::numeric_limits<double>::max())
45#else 48#else
46#define llisnan(val) std::isnan(val) 49#define llisnan(val) std::isnan(val)
47#define llfinite(val) std::isfinite(val) 50#define llfinite(val) std::isfinite(val)