Fix -Wundef warnings due to use of unguarded SDL_VIDEO_DRIVER_PS2

This commit is contained in:
Anonymous Maarten
2023-03-27 16:06:48 +02:00
parent 8bfaa70582
commit eed272c976
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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