diff options
author | Rob Landley <rob@landley.net> | 2007-03-08 01:26:49 +0000 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2007-03-08 01:26:49 +0000 |
commit | 78a11bc1915300ec68917ab9bf6e0dc1cb84a317 (patch) | |
tree | 11ccb40aadac50708f3a5ccc20512e8d840cf673 /libc/misc/internals | |
parent | 5a551453e6886968a089b63f4ccffd21059e2336 (diff) |
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.
Diffstat (limited to 'libc/misc/internals')
-rw-r--r-- | libc/misc/internals/internal_errno.h | 13 |
1 files changed, 4 insertions, 9 deletions
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 |