Fix -Wundef warnings due to use of unguarded SDL_VIDEO_DRIVER_PSP

This commit is contained in:
Anonymous Maarten
2023-03-27 16:07:26 +02:00
parent eed272c976
commit b8ecb78f2b
5 changed files with 5 additions and 5 deletions

View File

@@ -94,7 +94,7 @@ static VideoBootStrap *bootstrap[] = {
#ifdef SDL_VIDEO_DRIVER_PS2
&PS2_bootstrap,
#endif
#if SDL_VIDEO_DRIVER_PSP
#ifdef SDL_VIDEO_DRIVER_PSP
&PSP_bootstrap,
#endif
#if SDL_VIDEO_DRIVER_VITA

View File

@@ -20,7 +20,7 @@
*/
#include "SDL_internal.h"
#if SDL_VIDEO_DRIVER_PSP
#ifdef SDL_VIDEO_DRIVER_PSP
/* Being a null driver, there's no event stream. We just define stubs for
most of the API. */

View File

@@ -20,7 +20,7 @@
*/
#include "SDL_internal.h"
#if SDL_VIDEO_DRIVER_PSP
#ifdef SDL_VIDEO_DRIVER_PSP
#include <stdlib.h>
#include <string.h>

View File

@@ -20,7 +20,7 @@
*/
#include "SDL_internal.h"
#if SDL_VIDEO_DRIVER_PSP
#ifdef SDL_VIDEO_DRIVER_PSP
#include <stdio.h>

View File

@@ -21,7 +21,7 @@
#include "SDL_internal.h"
#if SDL_VIDEO_DRIVER_PSP
#ifdef SDL_VIDEO_DRIVER_PSP
/* SDL internals */
#include "../SDL_sysvideo.h"