enable use of current pspdev sdk

This commit is contained in:
kub 2022-09-29 23:13:49 +00:00
parent 09fcfbaa18
commit 1889fe241c

View file

@ -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