summaryrefslogtreecommitdiff
path: root/Source/Plugins/Plugin_DSP_LLE/Src/Debugger/DSPDebugWindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Plugins/Plugin_DSP_LLE/Src/Debugger/DSPDebugWindow.cpp')
-rw-r--r--Source/Plugins/Plugin_DSP_LLE/Src/Debugger/DSPDebugWindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Plugins/Plugin_DSP_LLE/Src/Debugger/DSPDebugWindow.cpp b/Source/Plugins/Plugin_DSP_LLE/Src/Debugger/DSPDebugWindow.cpp
index 155d0302c5..a3958cb02c 100644
--- a/Source/Plugins/Plugin_DSP_LLE/Src/Debugger/DSPDebugWindow.cpp
+++ b/Source/Plugins/Plugin_DSP_LLE/Src/Debugger/DSPDebugWindow.cpp
@@ -156,7 +156,7 @@ void DSPDebuggerLLE::OnChangeState(wxCommandEvent& event)
void DSPDebuggerLLE::Refresh()
{
-#ifdef __linux__
+#if defined HAVE_X11 && HAVE_X11
if (!wxIsMainThread())
wxMutexGuiEnter();
#endif
@@ -165,7 +165,7 @@ void DSPDebuggerLLE::Refresh()
UpdateRegisterFlags();
UpdateState();
m_mgr.Update();
-#ifdef __linux__
+#if defined HAVE_X11 && HAVE_X11
if (!wxIsMainThread())
wxMutexGuiLeave();
#endif