mirror of https://github.com/libsdl-org/SDL.git
Fix -Wundef warnings due to use of unguarded SDL_VIDEO_DRIVER_DUMMY
This commit is contained in:
parent
4a28734f2f
commit
9dc6cd250e
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue