summaryrefslogtreecommitdiff
path: root/indra/llcommon/llmd5.cpp
diff options
context:
space:
mode:
authorRye <rye@alchemyviewer.org>2025-11-02 13:20:01 -0500
committerRye <rye@alchemyviewer.org>2025-11-02 21:40:05 -0500
commitd2e80039df1712734a6e3b0d811d73f850345157 (patch)
tree855bb8f1470a7bd1d0f46065a63f2bec6aa70867 /indra/llcommon/llmd5.cpp
parenteaafd499ca026157570e9cbd83ef4bb44dd4593b (diff)
Fix building with clang on non-darwin platforms
Signed-off-by: Rye <rye@alchemyviewer.org>
Diffstat (limited to 'indra/llcommon/llmd5.cpp')
-rw-r--r--indra/llcommon/llmd5.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llcommon/llmd5.cpp b/indra/llcommon/llmd5.cpp
index ae7468aa22..b05fd2e21b 100644
--- a/indra/llcommon/llmd5.cpp
+++ b/indra/llcommon/llmd5.cpp
@@ -255,7 +255,7 @@ void LLMD5::raw_digest(unsigned char* s) const
memcpy(s, digest, 16); /* Flawfinder: ignore */
}
-#if LL_DARWIN
+#if LL_CLANG
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
#endif
@@ -280,7 +280,7 @@ void LLMD5::hex_digest(char* s) const
s[32] = '\0';
}
-#if LL_DARWIN
+#if LL_CLANG
#pragma clang diagnostic pop
#endif