Fix -Wundef warnings due to use of unguarded SDL_VIDEO_DRIVER_NGAGE
This commit is contained in:
1 parent
773e6a2dc6
commit
36f2e9b4d4
5 files changed
+5
-5
No files matched your search
@@ -121,7 +121,7 @@ static VideoBootStrap *bootstrap[] = {
|
|||||||
#if SDL_VIDEO_DRIVER_OFFSCREEN
|
#if SDL_VIDEO_DRIVER_OFFSCREEN
|
||||||
&OFFSCREEN_bootstrap,
|
&OFFSCREEN_bootstrap,
|
||||||
#endif
|
#endif
|
||||||
#if SDL_VIDEO_DRIVER_NGAGE
|
#ifdef SDL_VIDEO_DRIVER_NGAGE
|
||||||
&NGAGE_bootstrap,
|
&NGAGE_bootstrap,
|
||||||
#endif
|
#endif
|
||||||
#if SDL_VIDEO_DRIVER_DUMMY
|
#if SDL_VIDEO_DRIVER_DUMMY
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
#include "SDL_internal.h"
|
#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
|
/* Being a ngage driver, there's no event stream. We just define stubs for
|
||||||
most of the API. */
|
most of the API. */
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
#include "SDL_internal.h"
|
#include "SDL_internal.h"
|
||||||
|
|
||||||
#if SDL_VIDEO_DRIVER_NGAGE
|
#ifdef SDL_VIDEO_DRIVER_NGAGE
|
||||||
|
|
||||||
#include <SDL.h>
|
#include <SDL.h>
|
||||||
|
|
||||||
|
|||||||
@@ -25,7 +25,7 @@
|
|||||||
#endif
|
#endif
|
||||||
#include "SDL_internal.h"
|
#include "SDL_internal.h"
|
||||||
|
|
||||||
#if SDL_VIDEO_DRIVER_NGAGE
|
#ifdef SDL_VIDEO_DRIVER_NGAGE
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
#include "SDL_internal.h"
|
#include "SDL_internal.h"
|
||||||
|
|
||||||
#if SDL_VIDEO_DRIVER_NGAGE
|
#ifdef SDL_VIDEO_DRIVER_NGAGE
|
||||||
|
|
||||||
#include "../SDL_sysvideo.h"
|
#include "../SDL_sysvideo.h"
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user