From 708c55c6adf3eb4d7d76a99dd3a37a0142340400 Mon Sep 17 00:00:00 2001
From: Rye Mutt <rye@alchemyviewer.org>
Date: Thu, 10 Sep 2020 03:26:57 -0400
Subject: [PATCH] No win32 headers in function please

---
 indra/llcommon/llstring.h | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/indra/llcommon/llstring.h b/indra/llcommon/llstring.h
index d7ea47927f7..9b47c27aa52 100644
--- a/indra/llcommon/llstring.h
+++ b/indra/llcommon/llstring.h
@@ -55,12 +55,6 @@
 #include <string.h>
 #include <boost/scoped_ptr.hpp>
 
-#if LL_SOLARIS
-// stricmp and strnicmp do not exist on Solaris:
-#define stricmp strcasecmp
-#define strnicmp strncasecmp
-#endif
-
 const char LL_UNKNOWN_CHAR = '?';
 class LLSD;
 
@@ -785,10 +779,6 @@ STRING windows_message(unsigned long error)
 template<>
 LL_COMMON_API std::wstring windows_message<std::wstring>(unsigned long error);
 
-/// Get Windows message string, implicitly calling GetLastError()
-template<typename STRING>
-STRING windows_message() { return windows_message<STRING>(GetLastError()); }
-
 //@}
 
 LL_COMMON_API boost::optional<std::wstring> llstring_getoptenv(const std::string& key);
-- 
GitLab