瀏覽代碼

Merge pull request #5101 from mysterywolf/libcusingtimesss

[libc]在开启libc后依然保持RT_LIBC_USING_TIME定义存在
Bernard Xiong 3 年之前
父節點
當前提交
2be7621330
共有 1 個文件被更改,包括 3 次插入0 次删除
  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