Sfoglia il codice sorgente

增加 RT_USING_POSIX

mysterywolf 5 anni fa
parent
commit
cf00e7f0a1
2 ha cambiato i file con 8 aggiunte e 0 eliminazioni
  1. 4 0
      include/libc/libc_limits.h
  2. 4 0
      include/libc/libc_stdio.h

+ 4 - 0
include/libc/libc_limits.h

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

+ 4 - 0
include/libc/libc_stdio.h

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