DEVTOOLS: Replace ugly SDL/MinGW hack with a cleaner hack
Instead of having main=SDL_main defined by pkg-config/sdl2-config --cflags and undefining it everywhere, strip it in its origin.
This commit is contained in:
parent
6beb8a9225
commit
0b2ae9fa5e
38 changed files with 5 additions and 227 deletions
|
@ -22,12 +22,6 @@
|
|||
|
||||
#define ENABLE_XCODE
|
||||
|
||||
// HACK to allow building with the SDL backend on MinGW
|
||||
// see bug #3412 "TOOLS: MinGW tools building broken"
|
||||
#ifdef main
|
||||
#undef main
|
||||
#endif // main
|
||||
|
||||
#if (defined(_WIN32) || defined(WIN32)) && !defined(__GNUC__)
|
||||
#define USE_WIN32_API
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue