Explorar o código

Merge pull request #5101 from mysterywolf/libcusingtimesss

[libc]在开启libc后依然保持RT_LIBC_USING_TIME定义存在
Bernard Xiong %!s(int64=4) %!d(string=hai) anos
pai
achega
2be7621330
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      components/libc/Kconfig

+ 3 - 0
components/libc/Kconfig

@@ -41,6 +41,9 @@ if RT_USING_LIBC && RT_USING_DFS
 endif
 endif
 
 
 if RT_USING_LIBC
 if RT_USING_LIBC
+    config RT_LIBC_USING_TIME
+        default y
+
     config RT_USING_MODULE
     config RT_USING_MODULE
         bool "Enable dynamic module with dlopen/dlsym/dlclose feature"
         bool "Enable dynamic module with dlopen/dlsym/dlclose feature"
         default n
         default n