mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-04 09:22:38 +00:00
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:
parent
d4158f076a
commit
b7767b63a3
6 changed files with 16 additions and 18 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue