mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-03-12 06:39:14 +01:00
Fix the build on Linux when not using WX from Externals
No idea why we were including a Windows specific header *without* a ifdef.
This commit is contained in:
parent
1f04bab967
commit
6702e547cb
@ -14,6 +14,7 @@
|
|||||||
#include "Core/NetPlayProto.h"
|
#include "Core/NetPlayProto.h"
|
||||||
#include "Core/NetPlayServer.h"
|
#include "Core/NetPlayServer.h"
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
// HACK: wxWidgets headers don't play well with some of the macros defined in Windows
|
// HACK: wxWidgets headers don't play well with some of the macros defined in Windows
|
||||||
// headers and perform their own magic to fix things, as long as they're included entirely
|
// headers and perform their own magic to fix things, as long as they're included entirely
|
||||||
// either before or after any Windows headers.
|
// either before or after any Windows headers.
|
||||||
@ -22,6 +23,7 @@
|
|||||||
// include ENet headers, which leak Windows header macros. To fix this, explicitly tell
|
// include ENet headers, which leak Windows header macros. To fix this, explicitly tell
|
||||||
// wxWidgets here that it needs to re-clean macros.
|
// wxWidgets here that it needs to re-clean macros.
|
||||||
#include <wx/msw/winundef.h>
|
#include <wx/msw/winundef.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
class CGameListCtrl;
|
class CGameListCtrl;
|
||||||
class MD5Dialog;
|
class MD5Dialog;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user