X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=posix.h;fp=posix.h;h=44b6984d2fd1c994b5e6d24f3f6ca40730f6f8a5;hb=1889fe241c1c6059f8955a331dd07f08a47cd0b4;hp=257c27f7c82c363673e73b926252cb2c96c02f8d;hpb=09fcfbaa1889c915ab4bd38f75eca97a6232a527;p=libpicofe.git 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