We no longer need explicit SDL_ENABLE_SYSWM_* while building SDL

This commit is contained in:
Sam Lantinga 2023-01-12 15:55:52 -08:00
parent cfe2050c04
commit 23beef4fc7
25 changed files with 0 additions and 26 deletions

View File

@ -28,7 +28,6 @@
#ifdef SDL_VIDEO_DRIVER_X11
#include "../../video/x11/SDL_x11video.h"
#define SDL_ENABLE_SYSWM_X11
#endif
#include <SDL3/SDL_syswm.h>

View File

@ -28,7 +28,6 @@
#ifdef SDL_VIDEO_DRIVER_X11
#include "../../video/x11/SDL_x11video.h"
#define SDL_ENABLE_SYSWM_X11
#endif
#include <SDL3/SDL_syswm.h>

View File

@ -28,7 +28,6 @@
#include "../SDL_d3dmath.h"
#include "../../video/windows/SDL_windowsvideo.h"
#define SDL_ENABLE_SYSWM_WINDOWS
#include <SDL3/SDL_syswm.h>
#if SDL_VIDEO_RENDER_D3D

View File

@ -30,7 +30,6 @@
#include "../SDL_sysrender.h"
#include "../SDL_d3dmath.h"
#define SDL_ENABLE_SYSWM_WINDOWS
#include <SDL3/SDL_syswm.h>
#include <d3d11_1.h>

View File

@ -39,7 +39,6 @@ using namespace Windows::Graphics::Display;
#include <DXGI.h>
#define SDL_ENABLE_SYSWM_WINRT
#include <SDL3/SDL_syswm.h>
#include "SDL_render_winrt.h"

View File

@ -32,7 +32,6 @@
#include "../SDL_sysrender.h"
#include "../SDL_d3dmath.h"
#define SDL_ENABLE_SYSWM_WINDOWS
#include <SDL3/SDL_syswm.h>
#if defined(__XBOXONE__) || defined(__XBOXSERIES__)

View File

@ -31,11 +31,9 @@
#ifdef SDL_VIDEO_DRIVER_COCOA
#import <AppKit/NSWindow.h>
#import <AppKit/NSView.h>
#define SDL_ENABLE_SYSWM_COCOA
#endif
#ifdef SDL_VIDEO_DRIVER_UIKIT
#import <UIKit/UIKit.h>
#define SDL_ENABLE_SYSWM_UIKIT
#endif
#include <SDL3/SDL_syswm.h>

View File

@ -33,7 +33,6 @@
#include "SDL_androidvulkan.h"
#define SDL_ENABLE_SYSWM_ANDROID
#include <SDL3/SDL_syswm.h>
int Android_Vulkan_LoadLibrary(_THIS, const char *path)

View File

@ -31,7 +31,6 @@
#include "SDL_androidvideo.h"
#include "SDL_androidwindow.h"
#define SDL_ENABLE_SYSWM_ANDROID
#include <SDL3/SDL_syswm.h>
/* Currently only one window */

View File

@ -30,7 +30,6 @@
#if SDL_VIDEO_DRIVER_COCOA && (SDL_VIDEO_VULKAN || SDL_VIDEO_METAL)
#define SDL_ENABLE_SYSWM_COCOA
#include <SDL3/SDL_syswm.h>
static int SDLCALL SDL_MetalViewEventWatch(void *userdata, SDL_Event *event)

View File

@ -33,7 +33,6 @@
#include "SDL_cocoametalview.h"
#include "SDL_cocoavulkan.h"
#define SDL_ENABLE_SYSWM_COCOA
#include <SDL3/SDL_syswm.h>
#include <dlfcn.h>

View File

@ -41,7 +41,6 @@
#include "SDL_cocoaopengl.h"
#include "SDL_cocoaopengles.h"
#define SDL_ENABLE_SYSWM_COCOA
#include <SDL3/SDL_syswm.h>
/* #define DEBUG_COCOAWINDOW */

View File

@ -35,7 +35,6 @@
#include "../../core/openbsd/SDL_wscons.h"
#endif
#define SDL_ENABLE_SYSWM_KMSDRM
#include <SDL3/SDL_syswm.h>
/* KMS/DRM declarations */

View File

@ -32,7 +32,6 @@
#include "SDL_kmsdrmdyn.h"
#include "SDL_kmsdrmvulkan.h"
#define SDL_ENABLE_SYSWM_KMSDRM
#include <SDL3/SDL_syswm.h>
#include <sys/ioctl.h>

View File

@ -35,7 +35,6 @@
#import "SDL_uikitwindow.h"
#import "SDL_uikitmetalview.h"
#define SDL_ENABLE_SYSWM_UIKIT
#include <SDL3/SDL_syswm.h>
@implementation SDL_uikitmetalview

View File

@ -34,7 +34,6 @@
#include "SDL_uikitvulkan.h"
#include "SDL_uikitmetalview.h"
#define SDL_ENABLE_SYSWM_UIKIT
#include <SDL3/SDL_syswm.h>
#include <dlfcn.h>

View File

@ -34,7 +34,6 @@
#include "SDL_uikitview.h"
#include "SDL_uikitopenglview.h"
#define SDL_ENABLE_SYSWM_UIKIT
#include <SDL3/SDL_syswm.h>
#include <Foundation/Foundation.h>

View File

@ -33,7 +33,6 @@
#include "SDL_waylandvulkan.h"
#define SDL_ENABLE_SYSWM_WAYLAND
#include <SDL3/SDL_syswm.h>
#if defined(__OpenBSD__)

View File

@ -27,7 +27,6 @@
#include "../SDL_sysvideo.h"
#include "../../events/SDL_touch_c.h"
#define SDL_ENABLE_SYSWM_WAYLAND
#include <SDL3/SDL_syswm.h>
#include "SDL_waylandvideo.h"

View File

@ -29,7 +29,6 @@
#include "../../events/SDL_touch_c.h"
#include "../../events/scancodes_windows.h"
#define SDL_ENABLE_SYSWM_WINDOWS
#include <SDL3/SDL_syswm.h>
/* Dropfile support */

View File

@ -33,7 +33,6 @@
#include "SDL_windowsvulkan.h"
#define SDL_ENABLE_SYSWM_WINDOWS
#include <SDL3/SDL_syswm.h>
int WIN_Vulkan_LoadLibrary(_THIS, const char *path)

View File

@ -38,7 +38,6 @@
/* Dropfile support */
#include <shellapi.h>
#define SDL_ENABLE_SYSWM_WINDOWS
#include <SDL3/SDL_syswm.h>
/* Windows CE compatibility */

View File

@ -67,7 +67,6 @@ extern "C" {
#include "SDL_winrtmouse_c.h"
#include "SDL_winrtvideo_cpp.h"
#define SDL_ENABLE_SYSWM_WINRT
#include <SDL3/SDL_syswm.h>
/* Initialization/Query functions */

View File

@ -37,7 +37,6 @@
#include "../../events/SDL_mouse_c.h"
#include "../../events/SDL_touch_c.h"
#define SDL_ENABLE_SYSWM_X11
#include <SDL3/SDL_syswm.h>
#include <stdio.h>

View File

@ -38,7 +38,6 @@
#include "SDL_x11opengles.h"
#endif
#define SDL_ENABLE_SYSWM_X11
#include <SDL3/SDL_syswm.h>
#define _NET_WM_STATE_REMOVE 0l