diff options
| author | Rye <rye@alchemyviewer.org> | 2025-10-14 07:43:04 -0400 |
|---|---|---|
| committer | Rye <rye@alchemyviewer.org> | 2025-10-27 04:59:13 -0400 |
| commit | e6abebb6aef6bddee45be22e368e9fd8a6b4ec68 (patch) | |
| tree | bfe49ff52601adb45d6af9f9b52bec17a208c10f /indra/llcommon/llpreprocessor.h | |
| parent | 08b3d9b644950129c99e86700bef15418108b5aa (diff) | |
Fix up linux feature table and various small build changes
Signed-off-by: Rye <rye@alchemyviewer.org>
Diffstat (limited to 'indra/llcommon/llpreprocessor.h')
| -rw-r--r-- | indra/llcommon/llpreprocessor.h | 12 |
1 files changed, 11 insertions, 1 deletions
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__) |
