From 1889fe241c1c6059f8955a331dd07f08a47cd0b4 Mon Sep 17 00:00:00 2001 From: kub Date: Thu, 29 Sep 2022 23:13:49 +0000 Subject: [PATCH] enable use of current pspdev sdk --- posix.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/posix.h b/posix.h index 257c27f..44b6984 100644 --- a/posix.h +++ b/posix.h @@ -23,12 +23,14 @@ #include #include +#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 -- 2.39.5