增加 RT_USING_POSIX

This commit is contained in:
mysterywolf 2020-09-05 18:10:30 +08:00
parent f13014526c
commit cf00e7f0a1
2 changed files with 8 additions and 0 deletions

View File

@ -17,8 +17,12 @@
#include <limits.h>
#ifdef RT_USING_POSIX
#ifndef SSIZE_MAX
# define SSIZE_MAX LONG_MAX
#endif
#endif
#endif

View File

@ -15,6 +15,10 @@
#ifndef LIBC_STDIO_H__
#define LIBC_STDIO_H__
#ifdef RT_USING_POSIX
#include <posix_getline.h>
#endif
#endif