mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-07-31 21:50:18 +02:00
Missing includes and declarations for Linux
This commit is contained in:
@@ -19,6 +19,12 @@
|
|||||||
#include <ApplicationServices/ApplicationServices.h>
|
#include <ApplicationServices/ApplicationServices.h>
|
||||||
#endif
|
#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 *clipboard_text = NULL;
|
||||||
|
|
||||||
char *exe_name(void)
|
char *exe_name(void)
|
||||||
|
@@ -4,6 +4,10 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string>
|
#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__)
|
#if defined(WIN32) && !defined(__GNUC__)
|
||||||
#define x86_cpuid(func,af,bf,cf,df) \
|
#define x86_cpuid(func,af,bf,cf,df) \
|
||||||
do {\
|
do {\
|
||||||
|
Reference in New Issue
Block a user