mirror of
https://github.com/RaySollium99/libpicofe.git
synced 2025-09-04 14:37:46 -04:00
enable use of current pspdev sdk
This commit is contained in:
parent
09fcfbaa18
commit
1889fe241c
1 changed files with 2 additions and 0 deletions
2
posix.h
2
posix.h
|
@ -23,12 +23,14 @@
|
|||
#include <unistd.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
#ifndef DT_DIR
|
||||
/* map PSP names to posix. needs special scandir() function to mask rwx bits */
|
||||
#define d_type d_stat.st_attr
|
||||
#define DT_LNK FIO_SO_IFLNK
|
||||
#define DT_DIR FIO_SO_IFDIR
|
||||
#define DT_REG FIO_SO_IFREG
|
||||
#define DT_UNKNOWN 0
|
||||
#endif
|
||||
|
||||
#else
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue