summaryrefslogtreecommitdiff
path: root/Source/Plugins/Plugin_DSP_LLE/Src/Debugger/DSPDebugWindow.cpp
diff options
context:
space:
mode:
authorSoren Jorvang <soren.jorvang@gmail.com>2011-01-09 14:11:46 +0000
committerSoren Jorvang <soren.jorvang@gmail.com>2011-01-09 14:11:46 +0000
commitb7767b63a35ea8ea65bb5510db1471e813194391 (patch)
tree59939def87cca051e0febd676a6e8b90420ae532 /Source/Plugins/Plugin_DSP_LLE/Src/Debugger/DSPDebugWindow.cpp
parentd4158f076a1a595bf057f406ed14d86113d5917d (diff)
Generalize some __linux__ ifdefs for Unix/X11.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6793 8ced0084-cf51-0410-be5f-012b33b47a6e
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