Fix -Wundef warnings due to use of unguarded SDL_VIDEO_DRIVER_NGAGE

This commit is contained in:
Anonymous Maarten committed 2023-03-28 19:29:43 +02:00
1 parent 773e6a2dc6
commit 36f2e9b4d4
5 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -121,7 +121,7 @@ static VideoBootStrap *bootstrap[] = {
#if SDL_VIDEO_DRIVER_OFFSCREEN
&OFFSCREEN_bootstrap,
#endif
#if SDL_VIDEO_DRIVER_NGAGE
#ifdef SDL_VIDEO_DRIVER_NGAGE
&NGAGE_bootstrap,
#endif
#if SDL_VIDEO_DRIVER_DUMMY
+1 -1
View File
@@ -21,7 +21,7 @@
#include "SDL_internal.h"
#if SDL_VIDEO_DRIVER_NGAGE
#ifdef SDL_VIDEO_DRIVER_NGAGE
/* Being a ngage driver, there's no event stream. We just define stubs for
most of the API. */
+1 -1
View File
@@ -21,7 +21,7 @@
#include "SDL_internal.h"
#if SDL_VIDEO_DRIVER_NGAGE
#ifdef SDL_VIDEO_DRIVER_NGAGE
#include <SDL.h>
+1 -1
View File
@@ -25,7 +25,7 @@
#endif
#include "SDL_internal.h"
#if SDL_VIDEO_DRIVER_NGAGE
#ifdef SDL_VIDEO_DRIVER_NGAGE
#ifdef __cplusplus
extern "C" {
+1 -1
View File
@@ -21,7 +21,7 @@
#include "SDL_internal.h"
#if SDL_VIDEO_DRIVER_NGAGE
#ifdef SDL_VIDEO_DRIVER_NGAGE
#include "../SDL_sysvideo.h"