mirror of
https://github.com/pspdev/pspsdk.git
synced 2026-01-03 14:12:21 +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:
@@ -126,7 +126,7 @@ typedef struct SceUtilitySavedataParam
|
||||
/** unknown2: ? */
|
||||
int unknown2[4];
|
||||
|
||||
#if _PSP_FW_VERSION >= 200
|
||||
#if defined(_PSP_FW_VERSION) && _PSP_FW_VERSION >= 200
|
||||
|
||||
/** key: encrypt/decrypt key for save with firmware >= 2.00 */
|
||||
char key[16];
|
||||
|
||||
Reference in New Issue
Block a user