From 34d223148f7c05263f2a926fb2d8cbc8901eae85 Mon Sep 17 00:00:00 2001 From: Liny Date: Mon, 23 Apr 2012 18:53:21 -0700 Subject: [PATCH] Fix for FIRE-6119 (Spinners broken after preprocessor merge). Please test for linux/mac breakage on preproc, chatbar_as_cmdline's calc command and math in spinners. --- indra/llmath/llcalcparser.h | 2 +- indra/newview/fslslpreproc.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/indra/llmath/llcalcparser.h b/indra/llmath/llcalcparser.h index e6298b7e74..73bc05a867 100644 --- a/indra/llmath/llcalcparser.h +++ b/indra/llmath/llcalcparser.h @@ -27,7 +27,7 @@ #ifndef LL_CALCPARSER_H #define LL_CALCPARSER_H -#define BOOST_SPIRIT_SINGLE_GRAMMAR_INSTANCE +#define BOOST_SPIRIT_THREADSAFE #include #include diff --git a/indra/newview/fslslpreproc.cpp b/indra/newview/fslslpreproc.cpp index b64da3fd69..e67e90ebb3 100644 --- a/indra/newview/fslslpreproc.cpp +++ b/indra/newview/fslslpreproc.cpp @@ -110,7 +110,7 @@ std::map FSLSLPreprocessor::cached_assetids; #ifdef LL_WINDOWS #pragma warning (disable : 4702) // warning C4702: unreachable code #endif -#define BOOST_SPIRIT_SINGLE_GRAMMAR_INSTANCE +//#define BOOST_SPIRIT_THREADSAFE #include #include