Fix -Wundef warnings due to use of unguarded SDL_VIDEO_DRIVER_DUMMY
This commit is contained in:
1 parent
4a28734f2f
commit
9dc6cd250e
4 files changed
+4
-4
No files matched your search
@@ -124,7 +124,7 @@ static VideoBootStrap *bootstrap[] = {
|
|||||||
#ifdef SDL_VIDEO_DRIVER_NGAGE
|
#ifdef SDL_VIDEO_DRIVER_NGAGE
|
||||||
&NGAGE_bootstrap,
|
&NGAGE_bootstrap,
|
||||||
#endif
|
#endif
|
||||||
#if SDL_VIDEO_DRIVER_DUMMY
|
#ifdef SDL_VIDEO_DRIVER_DUMMY
|
||||||
&DUMMY_bootstrap,
|
&DUMMY_bootstrap,
|
||||||
#if SDL_INPUT_LINUXEV
|
#if SDL_INPUT_LINUXEV
|
||||||
&DUMMY_evdev_bootstrap,
|
&DUMMY_evdev_bootstrap,
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
*/
|
*/
|
||||||
#include "SDL_internal.h"
|
#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
|
/* Being a null driver, there's no event stream. We just define stubs for
|
||||||
most of the API. */
|
most of the API. */
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
*/
|
*/
|
||||||
#include "SDL_internal.h"
|
#include "SDL_internal.h"
|
||||||
|
|
||||||
#if SDL_VIDEO_DRIVER_DUMMY
|
#ifdef SDL_VIDEO_DRIVER_DUMMY
|
||||||
|
|
||||||
#include "../SDL_sysvideo.h"
|
#include "../SDL_sysvideo.h"
|
||||||
#include "SDL_nullframebuffer_c.h"
|
#include "SDL_nullframebuffer_c.h"
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
*/
|
*/
|
||||||
#include "SDL_internal.h"
|
#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
|
/* Dummy SDL video driver implementation; this is just enough to make an
|
||||||
* SDL-based application THINK it's got a working video driver, for
|
* SDL-based application THINK it's got a working video driver, for
|
||||||
|
|||||||
Reference in new issue
Block a user