summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/xtensa/sysdep.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/xtensa/sysdep.h')
-rw-r--r--libc/sysdeps/linux/xtensa/sysdep.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/xtensa/sysdep.h b/libc/sysdeps/linux/xtensa/sysdep.h
index 8d1bfcfdf..0671f0783 100644
--- a/libc/sysdeps/linux/xtensa/sysdep.h
+++ b/libc/sysdeps/linux/xtensa/sysdep.h
@@ -150,11 +150,7 @@
#if defined _LIBC_REENTRANT
# if defined USE___THREAD
-# ifndef NOT_IN_libc
-# define SYSCALL_ERROR_ERRNO __libc_errno
-# else
# define SYSCALL_ERROR_ERRNO errno
-# endif
# define SYSCALL_ERROR_HANDLER \
0: rur a4, THREADPTR; \
movi a3, SYSCALL_ERROR_ERRNO@TPOFF; \