Fix -Wundef warnings due to use of unguarded SDL_VIDEO_DRIVER_PSP
This commit is contained in:
1 parent
eed272c976
commit
b8ecb78f2b
5 files changed
+5
-5
No files matched your search
@@ -94,7 +94,7 @@ static VideoBootStrap *bootstrap[] = {
|
|||||||
#ifdef SDL_VIDEO_DRIVER_PS2
|
#ifdef SDL_VIDEO_DRIVER_PS2
|
||||||
&PS2_bootstrap,
|
&PS2_bootstrap,
|
||||||
#endif
|
#endif
|
||||||
#if SDL_VIDEO_DRIVER_PSP
|
#ifdef SDL_VIDEO_DRIVER_PSP
|
||||||
&PSP_bootstrap,
|
&PSP_bootstrap,
|
||||||
#endif
|
#endif
|
||||||
#if SDL_VIDEO_DRIVER_VITA
|
#if SDL_VIDEO_DRIVER_VITA
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
*/
|
*/
|
||||||
#include "SDL_internal.h"
|
#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
|
/* Being a null driver, there's no event stream. We just define stubs for
|
||||||
most of the API. */
|
most of the API. */
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
*/
|
*/
|
||||||
#include "SDL_internal.h"
|
#include "SDL_internal.h"
|
||||||
|
|
||||||
#if SDL_VIDEO_DRIVER_PSP
|
#ifdef SDL_VIDEO_DRIVER_PSP
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
*/
|
*/
|
||||||
#include "SDL_internal.h"
|
#include "SDL_internal.h"
|
||||||
|
|
||||||
#if SDL_VIDEO_DRIVER_PSP
|
#ifdef SDL_VIDEO_DRIVER_PSP
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
#include "SDL_internal.h"
|
#include "SDL_internal.h"
|
||||||
|
|
||||||
#if SDL_VIDEO_DRIVER_PSP
|
#ifdef SDL_VIDEO_DRIVER_PSP
|
||||||
|
|
||||||
/* SDL internals */
|
/* SDL internals */
|
||||||
#include "../SDL_sysvideo.h"
|
#include "../SDL_sysvideo.h"
|
||||||
|
|||||||
Reference in new issue
Block a user