林振兴 4 лет назад
Родитель
Сommit
0c1cffe9ca
1 измененных файлов с 6 добавлено и 1 удалено
  1. 6 1
      src/kservice.c

+ 6 - 1
src/kservice.c

@@ -122,11 +122,16 @@ RTM_EXPORT(_rt_errno);
 
 #ifdef RT_USING_MUSL
 #if !defined(RT_USING_MLIB)
-int *___errno_location(void)
+int *__errno_location(void)
 {
     return _rt_errno();
 }
 #endif
+int *___errno_location(void)
+{
+    return _rt_errno();
+}
+
 #endif
 
 /**