mirror of
https://github.com/devkitPro/buildscripts.git
synced 2026-08-12 20:46:01 -05:00
devkitA64: make read/write posix compliant
This commit is contained in:
@@ -11065,10 +11065,10 @@ index f810b008f..ca7e11dc7 100644
|
||||
+
|
||||
#endif /* !_SYS__TIMESPEC_H_ */
|
||||
diff --git a/newlib/libc/include/sys/config.h b/newlib/libc/include/sys/config.h
|
||||
index 5dcc77a80..fdf232649 100644
|
||||
index 5dcc77a80..10a992c21 100644
|
||||
--- a/newlib/libc/include/sys/config.h
|
||||
+++ b/newlib/libc/include/sys/config.h
|
||||
@@ -4,8 +4,21 @@
|
||||
@@ -4,8 +4,26 @@
|
||||
#include <machine/ieeefp.h> /* floating point macros */
|
||||
#include <sys/features.h> /* POSIX defs */
|
||||
|
||||
@@ -11088,6 +11088,11 @@ index 5dcc77a80..fdf232649 100644
|
||||
+#define MALLOC_ALIGNMENT_THRESHOLD 64
|
||||
+#define __BUFSIZ__ 32768
|
||||
+#define __DYNAMIC_REENT__
|
||||
+#endif
|
||||
+
|
||||
+#ifdef __DEVKITPRO__
|
||||
+#define _READ_WRITE_RETURN_TYPE _ssize_t
|
||||
+#define _READ_WRITE_BUFSIZE_TYPE size_t
|
||||
#endif
|
||||
|
||||
#ifdef __AMDGCN__
|
||||
|
||||
Reference in New Issue
Block a user