chiark / gitweb /
eglibc (2.11.3-4+deb6u3) squeeze-lts; urgency=medium
[eglibc.git] / debian / patches / hurd-i386 / local-tls.diff
1 For now errno is still a threadvar variable.
2
3 ---
4  include/errno.h |    2 +-
5  1 file changed, 1 insertion(+), 1 deletion(-)
6
7 --- a/include/errno.h
8 +++ b/include/errno.h
9 @@ -21,7 +21,7 @@
10  
11  #  include <tls.h>
12  
13 -#  if USE___THREAD
14 +#  if USE___THREAD && !defined(__GNU__)
15  #   undef  errno
16  #   ifndef NOT_IN_libc
17  #    define errno __libc_errno