Fix -Wundef warnings due to use of unguarded SDL_VIDEO_DRIVER_KMSDRM
This commit is contained in:
1 parent
daf1a7d2be
commit
3fcaddc6d1
9 files changed
+9
-9
No files matched your search
@@ -103,7 +103,7 @@ static VideoBootStrap *bootstrap[] = {
|
|||||||
#ifdef SDL_VIDEO_DRIVER_N3DS
|
#ifdef SDL_VIDEO_DRIVER_N3DS
|
||||||
&N3DS_bootstrap,
|
&N3DS_bootstrap,
|
||||||
#endif
|
#endif
|
||||||
#if SDL_VIDEO_DRIVER_KMSDRM
|
#ifdef SDL_VIDEO_DRIVER_KMSDRM
|
||||||
&KMSDRM_bootstrap,
|
&KMSDRM_bootstrap,
|
||||||
#endif
|
#endif
|
||||||
#if SDL_VIDEO_DRIVER_RISCOS
|
#if SDL_VIDEO_DRIVER_RISCOS
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
#include "SDL_internal.h"
|
#include "SDL_internal.h"
|
||||||
|
|
||||||
#if SDL_VIDEO_DRIVER_KMSDRM
|
#ifdef SDL_VIDEO_DRIVER_KMSDRM
|
||||||
|
|
||||||
#define DEBUG_DYNAMIC_KMSDRM 0
|
#define DEBUG_DYNAMIC_KMSDRM 0
|
||||||
|
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
#include "SDL_internal.h"
|
#include "SDL_internal.h"
|
||||||
|
|
||||||
#if SDL_VIDEO_DRIVER_KMSDRM
|
#ifdef SDL_VIDEO_DRIVER_KMSDRM
|
||||||
|
|
||||||
#include "SDL_kmsdrmvideo.h"
|
#include "SDL_kmsdrmvideo.h"
|
||||||
#include "SDL_kmsdrmevents.h"
|
#include "SDL_kmsdrmevents.h"
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
#include "SDL_internal.h"
|
#include "SDL_internal.h"
|
||||||
|
|
||||||
#if SDL_VIDEO_DRIVER_KMSDRM
|
#ifdef SDL_VIDEO_DRIVER_KMSDRM
|
||||||
|
|
||||||
#include "SDL_kmsdrmvideo.h"
|
#include "SDL_kmsdrmvideo.h"
|
||||||
#include "SDL_kmsdrmmouse.h"
|
#include "SDL_kmsdrmmouse.h"
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
#include "SDL_internal.h"
|
#include "SDL_internal.h"
|
||||||
|
|
||||||
#if SDL_VIDEO_DRIVER_KMSDRM
|
#ifdef SDL_VIDEO_DRIVER_KMSDRM
|
||||||
|
|
||||||
#include "SDL_kmsdrmvideo.h"
|
#include "SDL_kmsdrmvideo.h"
|
||||||
#include "SDL_kmsdrmopengles.h"
|
#include "SDL_kmsdrmopengles.h"
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
#ifndef SDL_kmsdrmopengles_h_
|
#ifndef SDL_kmsdrmopengles_h_
|
||||||
#define SDL_kmsdrmopengles_h_
|
#define SDL_kmsdrmopengles_h_
|
||||||
|
|
||||||
#if SDL_VIDEO_DRIVER_KMSDRM
|
#ifdef SDL_VIDEO_DRIVER_KMSDRM
|
||||||
|
|
||||||
#include "../SDL_sysvideo.h"
|
#include "../SDL_sysvideo.h"
|
||||||
#include "../SDL_egl_c.h"
|
#include "../SDL_egl_c.h"
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
#include "SDL_internal.h"
|
#include "SDL_internal.h"
|
||||||
|
|
||||||
#if SDL_VIDEO_DRIVER_KMSDRM
|
#ifdef SDL_VIDEO_DRIVER_KMSDRM
|
||||||
|
|
||||||
/* SDL internals */
|
/* SDL internals */
|
||||||
#include "../../events/SDL_events_c.h"
|
#include "../../events/SDL_events_c.h"
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
#include "SDL_internal.h"
|
#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_kmsdrmvideo.h"
|
||||||
#include "SDL_kmsdrmdyn.h"
|
#include "SDL_kmsdrmdyn.h"
|
||||||
|
|||||||
@@ -32,7 +32,7 @@
|
|||||||
#include "../SDL_vulkan_internal.h"
|
#include "../SDL_vulkan_internal.h"
|
||||||
#include "../SDL_sysvideo.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);
|
int KMSDRM_Vulkan_LoadLibrary(_THIS, const char *path);
|
||||||
void KMSDRM_Vulkan_UnloadLibrary(_THIS);
|
void KMSDRM_Vulkan_UnloadLibrary(_THIS);
|
||||||
|
|||||||
Reference in new issue
Block a user