mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-01 09:05:03 +00:00
5984ca26f3
Usually, this is passed as a preprocessor definition, but this is error prone and just complicating the compiler invocation for no good reason.
13 lines
215 B
C
13 lines
215 B
C
#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
|