Make LINE_NUMBER_HERE workaround conditional on LL_WINDOWS.

The referencing code is all within LL_WINDOWS conditionals, so the dummy
variable must be enclosed that way too -- otherwise we get
unreferenced-variable warnings-as-errors on other platforms.
master
Nat Goodspeed 2014-12-12 13:39:57 -08:00
parent 727adc994f
commit 7282d29bf8
1 changed files with 2 additions and 0 deletions

View File

@ -58,7 +58,9 @@ static LLInitParam::Parser::parser_inspect_func_map_t sSimpleXUIInspectFuncs;
const char* NO_VALUE_MARKER = "no_value";
#ifdef LL_WINDOWS
const S32 LINE_NUMBER_HERE = 0;
#endif
struct MaxOccursValues : public LLInitParam::TypeValuesHelper<U32, MaxOccursValues>
{