Fix -Wundef warnings due to use of unguarded SDL_VIDEO_DRIVER_DUMMY

This commit is contained in:
Anonymous Maarten 2023-03-27 19:07:36 +02:00
parent 4a28734f2f
commit 9dc6cd250e
4 changed files with 4 additions and 4 deletions

View File

@ -124,7 +124,7 @@ static VideoBootStrap *bootstrap[] = {
#ifdef SDL_VIDEO_DRIVER_NGAGE
&NGAGE_bootstrap,
#endif
#if SDL_VIDEO_DRIVER_DUMMY
#ifdef SDL_VIDEO_DRIVER_DUMMY
&DUMMY_bootstrap,
#if SDL_INPUT_LINUXEV
&DUMMY_evdev_bootstrap,

View File

@ -20,7 +20,7 @@
*/
#include "SDL_internal.h"
#if SDL_VIDEO_DRIVER_DUMMY
#ifdef SDL_VIDEO_DRIVER_DUMMY
/* Being a null driver, there's no event stream. We just define stubs for
most of the API. */

View File

@ -20,7 +20,7 @@
*/
#include "SDL_internal.h"
#if SDL_VIDEO_DRIVER_DUMMY
#ifdef SDL_VIDEO_DRIVER_DUMMY
#include "../SDL_sysvideo.h"
#include "SDL_nullframebuffer_c.h"

View File

@ -20,7 +20,7 @@
*/
#include "SDL_internal.h"
#if SDL_VIDEO_DRIVER_DUMMY
#ifdef SDL_VIDEO_DRIVER_DUMMY
/* Dummy SDL video driver implementation; this is just enough to make an
* SDL-based application THINK it's got a working video driver, for