mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-22 02:09:06 +00:00
wx: Move platform defines to wx setup header
Usually, this is passed as a preprocessor definition, but this is error prone and just complicating the compiler invocation for no good reason.
This commit is contained in:
parent
834ec372cc
commit
5984ca26f3
3 changed files with 4 additions and 5 deletions
3
Externals/wxWidgets3/wx/setup.h
vendored
3
Externals/wxWidgets3/wx/setup.h
vendored
|
@ -1,9 +1,12 @@
|
|||
#ifdef __APPLE__
|
||||
#define __WXMAC__
|
||||
#define __WXOSX__
|
||||
#define __WXOSX_COCOA__
|
||||
#include "wx/wxcocoa.h"
|
||||
#elif defined _WIN32
|
||||
#define __WXMSW__
|
||||
#include "wx/wxmsw.h"
|
||||
#else
|
||||
#define __WXGTK__
|
||||
#include "wx/wxgtk.h"
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue