summaryrefslogtreecommitdiff
path: root/indra/llcommon/llsdjson.cpp
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2025-06-05 14:04:32 +0800
committerErik Kundiman <erik@megapahit.org>2025-06-05 14:25:31 +0800
commit990a8291bd89a4f46464a24a07fe965659f6fa52 (patch)
treea66572b13e7f60121ac5c08c0af2eeeeb960f78b /indra/llcommon/llsdjson.cpp
parenta32a60727b1d49807cee4dfa189f4eda48ee44fb (diff)
Only Windows link to Boost JSON library file
Adding another library file to link means adding many more lines for other platform(s), at least for macOS with its bundling. It's much simpler to make the condition on 2 files.
Diffstat (limited to 'indra/llcommon/llsdjson.cpp')
-rw-r--r--indra/llcommon/llsdjson.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llcommon/llsdjson.cpp b/indra/llcommon/llsdjson.cpp
index a3f80b7c2e..a4b45ed80d 100644
--- a/indra/llcommon/llsdjson.cpp
+++ b/indra/llcommon/llsdjson.cpp
@@ -35,7 +35,11 @@
#include "llerror.h"
#include "../llmath/llmath.h"
+#if LL_WINDOWS
#include <boost/json.hpp>
+#else
+#include <boost/json/src.hpp>
+#endif
//=========================================================================
LLSD LlsdFromJson(const boost::json::value& val)