mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-03-22 15:19:52 +01:00
linux compiling fix
This commit is contained in:
parent
9e33906858
commit
c1fad5ebf9
@ -50,6 +50,8 @@ extern "C" {
|
||||
|
||||
using namespace std;
|
||||
|
||||
#define INCLUDE_SYSWM
|
||||
#include "SDLCompat.h"
|
||||
#if defined(USE_SDL) && defined(LIN) && defined(SDL_VIDEO_DRIVER_X11)
|
||||
SDL_SysWMinfo sdl_wminfo;
|
||||
Atom XA_CLIPBOARD, XA_TARGETS, XA_UTF8_STRING;
|
||||
|
@ -6,12 +6,14 @@
|
||||
#include "SDL.h"
|
||||
#endif
|
||||
|
||||
#ifdef INCLUDE_SYSWM
|
||||
#if defined(WIN) || defined(LIN)
|
||||
#ifdef SDL_INC
|
||||
#include <SDL/SDL_syswm.h>
|
||||
#else
|
||||
#include <SDL_syswm.h>
|
||||
#endif
|
||||
#endif
|
||||
#endif // WIN || LIN
|
||||
#endif // INCLUDE_SYSWM
|
||||
|
||||
#endif //USE_SDL
|
||||
#endif // USE_SDL
|
||||
|
Loading…
x
Reference in New Issue
Block a user