Improve compatibility newer versions of newlib

This commit is contained in:
Francisco Javier Trujillo Mata
2021-11-13 16:27:36 +01:00
parent d2a1abcc25
commit 3adc56a88e
2 changed files with 4 additions and 4 deletions

View File

@@ -19,7 +19,7 @@
#define PSP_O_WRONLY 0x0002 #define PSP_O_WRONLY 0x0002
#define PSP_O_RDWR (PSP_O_RDONLY | PSP_O_WRONLY) #define PSP_O_RDWR (PSP_O_RDONLY | PSP_O_WRONLY)
#define PSP_O_NBLOCK 0x0004 #define PSP_O_NBLOCK 0x0004
#define PSP_O_DIROPEN 0x0008 // Internal use for dopen #define PSP_O_DIR 0x0008
#define PSP_O_APPEND 0x0100 #define PSP_O_APPEND 0x0100
#define PSP_O_CREAT 0x0200 #define PSP_O_CREAT 0x0200
#define PSP_O_TRUNC 0x0400 #define PSP_O_TRUNC 0x0400

View File

@@ -105,11 +105,11 @@ typedef struct SceIoStat {
/** Size of the file in bytes. */ /** Size of the file in bytes. */
SceOff st_size; SceOff st_size;
/** Creation time. */ /** Creation time. */
ScePspDateTime st_ctime; ScePspDateTime sce_st_ctime;
/** Access time. */ /** Access time. */
ScePspDateTime st_atime; ScePspDateTime sce_st_atime;
/** Modification time. */ /** Modification time. */
ScePspDateTime st_mtime; ScePspDateTime sce_st_mtime;
/** Device-specific data. */ /** Device-specific data. */
unsigned int st_private[6]; unsigned int st_private[6];
} SceIoStat; } SceIoStat;