diff --git a/indra/llcommon/llsys.cpp b/indra/llcommon/llsys.cpp index d729d9883..bde0cbd6e 100644 --- a/indra/llcommon/llsys.cpp +++ b/indra/llcommon/llsys.cpp @@ -74,7 +74,7 @@ extern int errno; static const S32 CPUINFO_BUFFER_SIZE = 16383; -LLCPUInfo gSysCPU; +LL_COMMON_API LLCPUInfo gSysCPU; #if LL_WINDOWS #ifndef DLLVERSIONINFO diff --git a/indra/newview/llfloaterabout.cpp b/indra/newview/llfloaterabout.cpp index ed4e378e3..62b0ee495 100644 --- a/indra/newview/llfloaterabout.cpp +++ b/indra/newview/llfloaterabout.cpp @@ -75,7 +75,6 @@ -extern LLCPUInfo gSysCPU; extern LLMemoryInfo gSysMemory; extern U32 gPacketsIn; diff --git a/indra/newview/llweb.cpp b/indra/newview/llweb.cpp index b57e4bcc8..5bca8db8e 100644 --- a/indra/newview/llweb.cpp +++ b/indra/newview/llweb.cpp @@ -74,7 +74,7 @@ std::string LLWeb::curlEscape(const std::string& url) std::stringstream escaped_url; for (std::string::const_iterator iter = url.begin(); iter != url.end(); ++iter) { - if (std::isalnum(*iter)) + if (isalnum(*iter)) escaped_url << *iter; else escaped_url << '%' << std::hex << std::setfill('0') << std::setw(2) << std::uppercase << (int)*iter; diff --git a/indra/newview/llwindebug.cpp b/indra/newview/llwindebug.cpp index 59bc9dc62..bc8281480 100644 --- a/indra/newview/llwindebug.cpp +++ b/indra/newview/llwindebug.cpp @@ -862,7 +862,8 @@ void LLWinDebug::generateCrashStacks(struct _EXCEPTION_POINTERS *exception_infop // Since there is exception info... Release the hounds. gEmergencyMemoryReserve.release(); - if(gSavedSettings.getControl("SaveMinidump").notNull() && gSavedSettings.getBOOL("SaveMinidump")) + LLControlVariable* save_minimap = gSavedSettings.getControl("SaveMinidump"); + if(save_minimap && save_minimap->getValue().asBoolean()) { _MINIDUMP_EXCEPTION_INFORMATION ExInfo;