Skip to content

Commit

Permalink
psp: Fixed building with pspdev when not using CMake.
Browse files Browse the repository at this point in the history
(psp-cmake defines `__PSP__` on the command line, but the compiler itself
only defines `__psp__` and some variations.

Fixes #9378.
  • Loading branch information
icculus committed Mar 28, 2024
1 parent ad92c9e commit 0d007bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/SDL3/SDL_platform_defines.h
Expand Up @@ -183,7 +183,7 @@
#if defined(SDL_PLATFORM_WINGDK) || defined(SDL_PLATFORM_XBOXONE) || defined(SDL_PLATFORM_XBOXSERIES)
#define SDL_PLATFORM_GDK 1
#endif
#ifdef __PSP__
#if defined(__PSP__) || defined(__psp__)
#define SDL_PLATFORM_PSP 1
#endif
#if defined(__PS2__) || defined(PS2)
Expand Down

0 comments on commit 0d007bb

Please sign in to comment.