Преглед изворни кода

失误删除__errno_location

林振兴 пре 4 година
родитељ
комит
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
 #ifdef RT_USING_MUSL
 #if !defined(RT_USING_MLIB)
 #if !defined(RT_USING_MLIB)
-int *___errno_location(void)
+int *__errno_location(void)
 {
 {
     return _rt_errno();
     return _rt_errno();
 }
 }
 #endif
 #endif
+int *___errno_location(void)
+{
+    return _rt_errno();
+}
+
 #endif
 #endif
 
 
 /**
 /**