mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-03-22 00:31:06 +01:00
Fix -Wundef warnings due to use of unguarded SDL_VIDEO_DRIVER_DUMMY
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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. */
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user