psp: Fixed building with pspdev when not using CMake.

(psp-cmake defines `__PSP__` on the command line, but the compiler itself
only defines `__psp__` and some variations.

Fixes #9378.
This commit is contained in:
Ryan C. Gordon 2024-03-28 09:47:28 -04:00
parent 5fff9bc1e3
commit 0d8ce4a761
No known key found for this signature in database
GPG key ID: FA148B892AB48044

View file

@ -199,8 +199,10 @@
#undef __GDK__ #undef __GDK__
#define __GDK__ 1 #define __GDK__ 1
#endif #endif
#if defined(__PSP__) #if defined(__PSP__) || defined(__psp__)
#ifdef __PSP__
#undef __PSP__ #undef __PSP__
#endif
#define __PSP__ 1 #define __PSP__ 1
#endif #endif
#if defined(PS2) #if defined(PS2)