mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-12-25 15:48:58 +00:00
Fix -Wundef warnings due to use of unguarded SDL_VIDEO_DRIVER_KMSDRM
This commit is contained in:
@@ -103,7 +103,7 @@ static VideoBootStrap *bootstrap[] = {
|
||||
#ifdef SDL_VIDEO_DRIVER_N3DS
|
||||
&N3DS_bootstrap,
|
||||
#endif
|
||||
#if SDL_VIDEO_DRIVER_KMSDRM
|
||||
#ifdef SDL_VIDEO_DRIVER_KMSDRM
|
||||
&KMSDRM_bootstrap,
|
||||
#endif
|
||||
#if SDL_VIDEO_DRIVER_RISCOS
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
#include "SDL_internal.h"
|
||||
|
||||
#if SDL_VIDEO_DRIVER_KMSDRM
|
||||
#ifdef SDL_VIDEO_DRIVER_KMSDRM
|
||||
|
||||
#define DEBUG_DYNAMIC_KMSDRM 0
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
#include "SDL_internal.h"
|
||||
|
||||
#if SDL_VIDEO_DRIVER_KMSDRM
|
||||
#ifdef SDL_VIDEO_DRIVER_KMSDRM
|
||||
|
||||
#include "SDL_kmsdrmvideo.h"
|
||||
#include "SDL_kmsdrmevents.h"
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
#include "SDL_internal.h"
|
||||
|
||||
#if SDL_VIDEO_DRIVER_KMSDRM
|
||||
#ifdef SDL_VIDEO_DRIVER_KMSDRM
|
||||
|
||||
#include "SDL_kmsdrmvideo.h"
|
||||
#include "SDL_kmsdrmmouse.h"
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
#include "SDL_internal.h"
|
||||
|
||||
#if SDL_VIDEO_DRIVER_KMSDRM
|
||||
#ifdef SDL_VIDEO_DRIVER_KMSDRM
|
||||
|
||||
#include "SDL_kmsdrmvideo.h"
|
||||
#include "SDL_kmsdrmopengles.h"
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
#ifndef SDL_kmsdrmopengles_h_
|
||||
#define SDL_kmsdrmopengles_h_
|
||||
|
||||
#if SDL_VIDEO_DRIVER_KMSDRM
|
||||
#ifdef SDL_VIDEO_DRIVER_KMSDRM
|
||||
|
||||
#include "../SDL_sysvideo.h"
|
||||
#include "../SDL_egl_c.h"
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
#include "SDL_internal.h"
|
||||
|
||||
#if SDL_VIDEO_DRIVER_KMSDRM
|
||||
#ifdef SDL_VIDEO_DRIVER_KMSDRM
|
||||
|
||||
/* SDL internals */
|
||||
#include "../../events/SDL_events_c.h"
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
|
||||
#include "SDL_internal.h"
|
||||
|
||||
#if SDL_VIDEO_VULKAN && SDL_VIDEO_DRIVER_KMSDRM
|
||||
#if SDL_VIDEO_VULKAN && defined(SDL_VIDEO_DRIVER_KMSDRM)
|
||||
|
||||
#include "SDL_kmsdrmvideo.h"
|
||||
#include "SDL_kmsdrmdyn.h"
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
#include "../SDL_vulkan_internal.h"
|
||||
#include "../SDL_sysvideo.h"
|
||||
|
||||
#if SDL_VIDEO_VULKAN && SDL_VIDEO_DRIVER_KMSDRM
|
||||
#if SDL_VIDEO_VULKAN && defined(SDL_VIDEO_DRIVER_KMSDRM)
|
||||
|
||||
int KMSDRM_Vulkan_LoadLibrary(_THIS, const char *path);
|
||||
void KMSDRM_Vulkan_UnloadLibrary(_THIS);
|
||||
|
||||
Reference in New Issue
Block a user