增加 RT_USING_POSIX

This commit is contained in:
mysterywolf committed 2020-09-05 18:10:30 +08:00
1 parent f13014526c
commit cf00e7f0a1
2 files changed
+8

No files matched your search

+4
View File
@@ -17,8 +17,12 @@
#include <limits.h>
#ifdef RT_USING_POSIX
#ifndef SSIZE_MAX
# define SSIZE_MAX LONG_MAX
#endif
#endif
#endif
+4
View File
@@ -15,6 +15,10 @@
#ifndef LIBC_STDIO_H__
#define LIBC_STDIO_H__
#ifdef RT_USING_POSIX
#include <posix_getline.h>
#endif
#endif