فهرست منبع

Fix a build break due to errno and h_errno being unresolved symbols.
(No idea if this is the right fix but it's something for now.)

Rob Landley 17 سال پیش
والد
کامیت
5a551453e6
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      libc/misc/internals/errno.c

+ 2 - 2
libc/misc/internals/errno.c

@@ -8,8 +8,8 @@ int errno = 0;
 int h_errno = 0;
 
 #ifdef __UCLIBC_HAS_THREADS__
-//weak_alias(_errno, errno)
 libc_hidden_def(errno)
-//weak_alias(_h_errno, h_errno)
+weak_alias(errno, _errno)
 libc_hidden_def(h_errno)
+weak_alias(h_errno, _h_errno)
 #endif