mirror of
https://github.com/pspdev/pspsdk.git
synced 2025-12-23 12:20:00 +00:00
Improve compatibility newer versions of newlib
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user