From e6abebb6aef6bddee45be22e368e9fd8a6b4ec68 Mon Sep 17 00:00:00 2001 From: Rye Date: Tue, 14 Oct 2025 07:43:04 -0400 Subject: Fix up linux feature table and various small build changes Signed-off-by: Rye --- indra/llcommon/llpreprocessor.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'indra/llcommon') diff --git a/indra/llcommon/llpreprocessor.h b/indra/llcommon/llpreprocessor.h index b2a9734548..5269fb2282 100644 --- a/indra/llcommon/llpreprocessor.h +++ b/indra/llcommon/llpreprocessor.h @@ -63,7 +63,17 @@ // Figure out differences between compilers -#if defined(__GNUC__) +#if defined(__clang__) + #define GCC_VERSION (__GNUC__ * 10000 \ + + __GNUC_MINOR__ * 100 \ + + __GNUC_PATCHLEVEL__) + #ifndef LL_CLANG + #define LL_CLANG 1 + #endif + #ifndef LL_GNUC + #define LL_GNUC 1 + #endif +#elif defined(__GNUC__) #define GCC_VERSION (__GNUC__ * 10000 \ + __GNUC_MINOR__ * 100 \ + __GNUC_PATCHLEVEL__) -- cgit v1.3