From 78a11bc1915300ec68917ab9bf6e0dc1cb84a317 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Thu, 8 Mar 2007 01:26:49 +0000 Subject: svn 17941/17943 broke the build. 18032 made the threaded case compile again, this makes the non-threaded case compile again. I have no idea if this is the proper fix, I'm just tired if it not compiling for two weeks. --- libc/misc/internals/internal_errno.h | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'libc/misc/internals') diff --git a/libc/misc/internals/internal_errno.h b/libc/misc/internals/internal_errno.h index d05537cdf..a93d0bf02 100644 --- a/libc/misc/internals/internal_errno.h +++ b/libc/misc/internals/internal_errno.h @@ -9,15 +9,10 @@ #undef errno #undef h_errno -/* need to tweak libpthread -#ifdef __UCLIBC_HAS_THREADS__ -# define errno __uclibc_errno -# define h_errno __uclibc_h_errno -#endif -*/ - extern int h_errno; -libc_hidden_proto(h_errno) - extern int errno; + +#ifdef __UCLIBC_HAS_THREADS__ +libc_hidden_proto(h_errno) libc_hidden_proto(errno) +#endif -- cgit v1.2.3