summaryrefslogtreecommitdiff
path: root/indra/media_plugins/winmmshim
diff options
context:
space:
mode:
authorGraham Madarasz <graham@lindenlab.com>2013-06-03 18:11:08 -0700
committerGraham Madarasz <graham@lindenlab.com>2013-06-03 18:11:08 -0700
commit62d3a010d430fadf99268498bee3cff3e16c608f (patch)
tree9bf2b47b8441c6db614e56624cca33a2ef27f019 /indra/media_plugins/winmmshim
parentd7e76ed642a86e97ae71b96d65fdacb3692b6704 (diff)
BUG-2707 disable sites calling OsOutputDebugString directly to identify which is tossing our errant exception
Diffstat (limited to 'indra/media_plugins/winmmshim')
-rwxr-xr-xindra/media_plugins/winmmshim/winmm_shim.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/media_plugins/winmmshim/winmm_shim.cpp b/indra/media_plugins/winmmshim/winmm_shim.cpp
index 47a1e5c018..aeadb53f31 100755
--- a/indra/media_plugins/winmmshim/winmm_shim.cpp
+++ b/indra/media_plugins/winmmshim/winmm_shim.cpp
@@ -61,12 +61,16 @@ void ll_winmm_shim_initialize(){
{ // we have a dll, let's get out pointers!
initialized = true;
init_function_pointers(winmm_handle);
+#if BUG_2707_HUNT
::OutputDebugStringA("WINMM_SHIM.DLL: real winmm.dll initialized successfully\n");
+#endif
}
else
{
// failed to initialize real winmm.dll
+#if BUG_2707_HUNT
::OutputDebugStringA("WINMM_SHIM.DLL: Failed to initialize real winmm.dll\n");
+#endif
}
}
LeaveCriticalSection(&sCriticalSection);