Generalize some __linux__ ifdefs for Unix/X11.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6793 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Soren Jorvang 2011-01-09 14:11:46 +00:00
parent d4158f076a
commit b7767b63a3
6 changed files with 16 additions and 18 deletions

View file

@ -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