mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-01-17 14:28:30 +01:00
Missing includes and declarations for Linux
This commit is contained in:
parent
c447dd2f4a
commit
d7e12b7b43
@ -19,6 +19,12 @@
|
||||
#include <ApplicationServices/ApplicationServices.h>
|
||||
#endif
|
||||
|
||||
#if defined(USE_SDL) && (defined(LIN32) || defined(LIN64)) && defined(SDL_VIDEO_DRIVER_X11)
|
||||
#include <SDL/SDL_syswm.h>
|
||||
SDL_SysWMinfo sdl_wminfo;
|
||||
Atom XA_CLIPBOARD, XA_TARGETS;
|
||||
#endif
|
||||
|
||||
char *clipboard_text = NULL;
|
||||
|
||||
char *exe_name(void)
|
||||
|
@ -4,6 +4,10 @@
|
||||
#include <stdlib.h>
|
||||
#include <string>
|
||||
|
||||
#if defined(USE_SDL) && (defined(LIN32) || defined(LIN64)) && defined(SDL_VIDEO_DRIVER_X11)
|
||||
#include <SDL/SDL_syswm.h>
|
||||
#endif
|
||||
|
||||
#if defined(WIN32) && !defined(__GNUC__)
|
||||
#define x86_cpuid(func,af,bf,cf,df) \
|
||||
do {\
|
||||
|
Loading…
x
Reference in New Issue
Block a user