From dc79afc0facb5de24d63fbaba6a345222a86d0d5 Mon Sep 17 00:00:00 2001 From: mirabilos Date: Sun, 29 Jan 2017 14:22:02 +0100 Subject: g/c __libc_errno Signed-off-by: mirabilos Signed-off-by: Waldemar Brodkorb --- libc/sysdeps/linux/x86_64/sysdep.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'libc/sysdeps/linux/x86_64/sysdep.h') diff --git a/libc/sysdeps/linux/x86_64/sysdep.h b/libc/sysdeps/linux/x86_64/sysdep.h index 61d2be8e4..34c04351b 100644 --- a/libc/sysdeps/linux/x86_64/sysdep.h +++ b/libc/sysdeps/linux/x86_64/sysdep.h @@ -168,11 +168,7 @@ lose: \ # ifndef __PIC__ # define SYSCALL_ERROR_HANDLER /* Nothing here; code in sysdep.S is used. */ # elif USE___THREAD -# ifndef NOT_IN_libc -# define SYSCALL_ERROR_ERRNO __libc_errno -# else # define SYSCALL_ERROR_ERRNO errno -# endif # define SYSCALL_ERROR_HANDLER \ 0: \ movq SYSCALL_ERROR_ERRNO@GOTTPOFF(%rip), %rcx;\ -- cgit v1.2.3