mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-12-26 08:09:11 +00:00
Fix -Wundef warnings due to use of unguarded SDL_VIDEO_DRIVER_PS2
This commit is contained in:
@@ -91,7 +91,7 @@ static VideoBootStrap *bootstrap[] = {
|
||||
#ifdef SDL_VIDEO_DRIVER_ANDROID
|
||||
&Android_bootstrap,
|
||||
#endif
|
||||
#if SDL_VIDEO_DRIVER_PS2
|
||||
#ifdef SDL_VIDEO_DRIVER_PS2
|
||||
&PS2_bootstrap,
|
||||
#endif
|
||||
#if SDL_VIDEO_DRIVER_PSP
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
*/
|
||||
#include "SDL_internal.h"
|
||||
|
||||
#if SDL_VIDEO_DRIVER_PS2
|
||||
#ifdef SDL_VIDEO_DRIVER_PS2
|
||||
|
||||
/* PS2 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