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