Fix -Wundef warnings due to use of unguarded SDL_VIDEO_DRIVER_PS2

This commit is contained in:
Anonymous Maarten committed 2023-03-28 19:29:43 +02:00
1 parent 8bfaa70582
commit eed272c976
2 files changed
+2 -2

No files matched your search

+1 -1
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
+1 -1
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