mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06: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:
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
|
||||
|
Reference in New Issue
Block a user