فهرست منبع

!346 失误删除__errno_location
Merge pull request !346 from lin123/rt-smart

bernard 4 سال پیش
والد
کامیت
79e1000749
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
 
 /**