mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-03-31 22:31:05 +02:00
Fix -Wundef warnings due to use of unguarded SDL_VIDEO_DRIVER_PSP
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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. */
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
*/
|
||||
#include "SDL_internal.h"
|
||||
|
||||
#if SDL_VIDEO_DRIVER_PSP
|
||||
#ifdef SDL_VIDEO_DRIVER_PSP
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
*/
|
||||
#include "SDL_internal.h"
|
||||
|
||||
#if SDL_VIDEO_DRIVER_PSP
|
||||
#ifdef SDL_VIDEO_DRIVER_PSP
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
#include "SDL_internal.h"
|
||||
|
||||
#if SDL_VIDEO_DRIVER_PSP
|
||||
#ifdef SDL_VIDEO_DRIVER_PSP
|
||||
|
||||
/* SDL internals */
|
||||
#include "../SDL_sysvideo.h"
|
||||
|
||||
Reference in New Issue
Block a user