mirror of
https://github.com/pspdev/pspsdk.git
synced 2026-01-01 21:18:39 +00:00
Guard _PSP_FW_VERSION macro to mitigate warnings with -Wundef
Fixes #123. Guards `_PSP_FW_VERSION` references with `#if defined()` to avoid the SDK headers returning warnings when compiling modules with the `-Wundef` cflag.
This commit is contained in:
@@ -102,7 +102,7 @@ SceSize sceKernelMaxFreeMemSize(void);
|
||||
*/
|
||||
int sceKernelDevkitVersion(void);
|
||||
|
||||
#if _PSP_FW_VERSION >= 150
|
||||
#if defined(_PSP_FW_VERSION) && _PSP_FW_VERSION >= 150
|
||||
|
||||
/**
|
||||
* Kernel printf function.
|
||||
|
||||
Reference in New Issue
Block a user