Fix -Wundef warnings due to use of unguarded SDL_VIDEO_DRIVER_NGAGE

This commit is contained in:
Anonymous Maarten
2023-03-27 16:12:23 +02:00
parent 773e6a2dc6
commit 36f2e9b4d4
5 changed files with 5 additions and 5 deletions

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

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. */

View File

@@ -21,7 +21,7 @@
#include "SDL_internal.h"
#if SDL_VIDEO_DRIVER_NGAGE
#ifdef SDL_VIDEO_DRIVER_NGAGE
#include <SDL.h>

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" {

View File

@@ -21,7 +21,7 @@
#include "SDL_internal.h"
#if SDL_VIDEO_DRIVER_NGAGE
#ifdef SDL_VIDEO_DRIVER_NGAGE
#include "../SDL_sysvideo.h"