diff --git a/indra/newview/llfloaterbvhpreview.cpp b/indra/newview/llfloaterbvhpreview.cpp
index 1edb95bebd..8eb2a5bd4c 100644
--- a/indra/newview/llfloaterbvhpreview.cpp
+++ b/indra/newview/llfloaterbvhpreview.cpp
@@ -1198,7 +1198,7 @@ bool LLFloaterBvhPreview::validateLoopIn(const LLSD& data)
// FIRE-17277: Allow entering Loop In/Loop Out as frames
// FIRE-21330: (additional cleanup) make loop out round to an integer
// getChild("loop_in_frames")->setValue(LLSD(loop_in_value / 100.f * (F32)mNumFrames));
- getChild("loop_in_frames")->setValue(LLSD(lround(loop_in_value / 100.f * (F32)mNumFrames)));
+ getChild("loop_in_frames")->setValue(LLSD(ll_round(loop_in_value / 100.f * (F32)mNumFrames)));
//
//
return true;
@@ -1232,7 +1232,7 @@ bool LLFloaterBvhPreview::validateLoopOut(const LLSD& data)
// FIRE-17277: Allow entering Loop In/Loop Out as frames
// FIRE-21330: (additional cleanup) make loop out round to an integer
// getChild("loop_out_frames")->setValue(LLSD(loop_out_value / 100.f * (F32)mNumFrames));
- getChild("loop_out_frames")->setValue(LLSD(lround(loop_out_value / 100.f * (F32)mNumFrames)));
+ getChild("loop_out_frames")->setValue(LLSD(ll_round(loop_out_value / 100.f * (F32)mNumFrames)));
//
//
return true;
diff --git a/indra/newview/llmachineid.cpp b/indra/newview/llmachineid.cpp
index 06ddeeafc7..6ca65f4ac0 100644
--- a/indra/newview/llmachineid.cpp
+++ b/indra/newview/llmachineid.cpp
@@ -37,6 +37,7 @@ using namespace std;
unsigned char static_unique_id[] = {0,0,0,0,0,0};
bool static has_static_unique_id = false;
+#if LL_WINDOWS
class FSComInitialize
{
HRESULT mHR;
@@ -54,7 +55,7 @@ public:
CoUninitialize();
}
};
-
+#endif
// get an unique machine id.
// NOT THREAD SAFE - do before setting up threads.
// MAC Address doesn't work for Windows 7 since the first returned hardware MAC address changes with each reboot, Go figure??