Explorar o código

[libc]在开启libc后依然保持RT_LIBC_USING_TIME定义存在

Meco Man %!s(int64=3) %!d(string=hai) anos
pai
achega
df04d97026
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
 
 if RT_USING_LIBC
+    config RT_LIBC_USING_TIME
+        default y
+
     config RT_USING_MODULE
         bool "Enable dynamic module with dlopen/dlsym/dlclose feature"
         default n