notaz.gp2x.de
/
libpicofe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09fcfba
)
enable use of current pspdev sdk
author
kub
<derkub@gmail.com>
Thu, 29 Sep 2022 23:13:49 +0000
(23:13 +0000)
committer
kub
<derkub@gmail.com>
Thu, 29 Sep 2022 23:13:49 +0000
(23:13 +0000)
posix.h
patch
|
blob
|
blame
|
history
diff --git
a/posix.h
b/posix.h
index
257c27f
..
44b6984
100644
(file)
--- a/
posix.h
+++ b/
posix.h
@@
-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