From: kub Date: Thu, 29 Sep 2022 23:13:49 +0000 (+0000) Subject: enable use of current pspdev sdk X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1889fe241c1c6059f8955a331dd07f08a47cd0b4;p=libpicofe.git enable use of current pspdev sdk --- 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