diff options
author | Erik Kundiman <erik@megapahit.org> | 2023-07-12 14:46:32 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2023-07-19 11:01:37 +0800 |
commit | fc6d2ad320b35a7ea4dfa33d88e1bdd54d21904d (patch) | |
tree | 601318667282ac4980b7b73423e8429dc1049680 | |
parent | bcab7e348022eb219ab1beafe7bb0e64f66495f0 (diff) |
System xxHash header isn't (usually?) encapsulated
-rw-r--r-- | indra/llcommon/hbxxh.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llcommon/hbxxh.cpp b/indra/llcommon/hbxxh.cpp index 388269d6c8..84d215d468 100644 --- a/indra/llcommon/hbxxh.cpp +++ b/indra/llcommon/hbxxh.cpp @@ -34,7 +34,11 @@ // in your build, in which case the latter would be used instead. For ARM64 // builds, this would also automatically enable NEON vectorization. #define XXH_INLINE_ALL +#if LL_USESYSTEMLIBS +#include <xxhash.h> +#else #include "xxhash/xxhash.h" +#endif #include "hbxxh.h" |