summaryrefslogtreecommitdiff
path: root/indra/llmath
diff options
context:
space:
mode:
authorCallum Prentice <callum@lindenlab.com>2021-06-07 18:55:00 -0700
committerCallum Prentice <callum@lindenlab.com>2021-06-07 18:55:00 -0700
commitad9ed0a94dfd37878b35b70e0a365017a1e548bf (patch)
treea86bee1eba9cd8c40c1408abf067e3f8f673a33f /indra/llmath
parentac8640d338997020ca0650001ff004e1103ac5cb (diff)
parent4623b822386accfae5907c88099c2a88377a0271 (diff)
Merge with tip of Master after Viewer release
Diffstat (limited to 'indra/llmath')
-rw-r--r--indra/llmath/llmath.h3
-rw-r--r--indra/llmath/llsdutil_math.cpp2
2 files changed, 1 insertions, 4 deletions
diff --git a/indra/llmath/llmath.h b/indra/llmath/llmath.h
index 8f01ad6c1c..e4ccd81faf 100644
--- a/indra/llmath/llmath.h
+++ b/indra/llmath/llmath.h
@@ -47,9 +47,6 @@
#elif (LL_LINUX && __GNUC__ <= 2)
#define llisnan(val) isnan(val)
#define llfinite(val) isfinite(val)
-#elif LL_SOLARIS
-#define llisnan(val) isnan(val)
-#define llfinite(val) (val <= std::numeric_limits<double>::max())
#else
#define llisnan(val) std::isnan(val)
#define llfinite(val) std::isfinite(val)
diff --git a/indra/llmath/llsdutil_math.cpp b/indra/llmath/llsdutil_math.cpp
index 591f7fde36..51e5e3764f 100644
--- a/indra/llmath/llsdutil_math.cpp
+++ b/indra/llmath/llsdutil_math.cpp
@@ -40,7 +40,7 @@
#if LL_WINDOWS
# define WIN32_LEAN_AND_MEAN
# include <winsock2.h> // for htonl
-#elif LL_LINUX || LL_SOLARIS
+#elif LL_LINUX
# include <netinet/in.h>
#elif LL_DARWIN
# include <arpa/inet.h>