summaryrefslogtreecommitdiff
path: root/indra/media_plugins
diff options
context:
space:
mode:
authorGraham Madarasz <graham@lindenlab.com>2013-06-04 09:05:23 -0700
committerGraham Madarasz <graham@lindenlab.com>2013-06-04 09:05:23 -0700
commit97a2171ea88fe52060e1dfe3fb09d2c320e1bb10 (patch)
treedee5f9cc8e653e731af5df4639083c88bdb4c730 /indra/media_plugins
parentdcfb18373eca7986a73d8b9a1d34970cc0a23ed9 (diff)
MAINT-2740 make use of OsOutputDebugString _DEBUG only to avoid interactions between Win 32-bit SEH and boost coroutine fiber stack handling
Diffstat (limited to 'indra/media_plugins')
-rwxr-xr-xindra/media_plugins/winmmshim/winmm_shim.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/media_plugins/winmmshim/winmm_shim.cpp b/indra/media_plugins/winmmshim/winmm_shim.cpp
index 47a1e5c018..9e2e7ad3aa 100755
--- a/indra/media_plugins/winmmshim/winmm_shim.cpp
+++ b/indra/media_plugins/winmmshim/winmm_shim.cpp
@@ -61,13 +61,18 @@ void ll_winmm_shim_initialize(){
{ // we have a dll, let's get out pointers!
initialized = true;
init_function_pointers(winmm_handle);
+#if defined(_DEBUG)
::OutputDebugStringA("WINMM_SHIM.DLL: real winmm.dll initialized successfully\n");
+#endif
}
+#if defined(_DEBUG)
else
{
// failed to initialize real winmm.dll
::OutputDebugStringA("WINMM_SHIM.DLL: Failed to initialize real winmm.dll\n");
}
+#endif
+
}
LeaveCriticalSection(&sCriticalSection);
}