We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 10a9ed3 commit af983b8Copy full SHA for af983b8
include/SDL2/SDL_config.h
@@ -65,6 +65,24 @@
65
#ifndef SDL_VIDEO_OPENGL
66
#define SDL_VIDEO_OPENGL 1
67
#endif
68
+#if defined(__WIN32__)
69
+#define SDL_VIDEO_DRIVER_WINDOWS 1
70
+#endif
71
+#if defined (__LINUX__) || defined(__FREEBSD__) || defined(__NETBSD__) || defined(__OPENBSD__) || defined(__SOLARIS__)
72
+#define SDL_VIDEO_DRIVER_X11 1
73
74
+#if defined(__LINUX__)
75
+#define SDL_VIDEO_DRIVER_KMSDRM 1
76
77
+#if defined(__MACOSX__)
78
+#define SDL_VIDEO_DRIVER_COCOA 1
79
80
+#if defined(__IPHONEOS__) || defined(__TVOS__)
81
+#define SDL_VIDEO_DRIVER_UIKIT 1
82
83
+#if defined(__ANDROID__)
84
+#define SDL_VIDEO_DRIVER_ANDROID 1
85
86
87
/* END DEFINES ADDED BY SDL2-COMPAT */
88
0 commit comments