summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/xtensa
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2010-06-20 11:20:11 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2010-06-24 11:55:28 +0200
commit19a5f9f94448b44d12799f559f09776ff503d958 (patch)
tree227dbc2ac2aa4e0f39a7c3d1237a9d8a0535e3e1 /libc/sysdeps/linux/xtensa
parent638c2396a2a7c0481bea536775544364fbde6fa8 (diff)
libc: silence warnings about undefined cpp tokens
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux/xtensa')
-rw-r--r--libc/sysdeps/linux/xtensa/sysdep.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/xtensa/sysdep.h b/libc/sysdeps/linux/xtensa/sysdep.h
index bd16b81a0..4c32c2ca4 100644
--- a/libc/sysdeps/linux/xtensa/sysdep.h
+++ b/libc/sysdeps/linux/xtensa/sysdep.h
@@ -114,7 +114,7 @@
#define ret_ERRVAL retw
-#if RTLD_PRIVATE_ERRNO
+#if defined RTLD_PRIVATE_ERRNO
# define SYSCALL_ERROR_HANDLER \
0: movi a4, rtld_errno; \
neg a2, a2; \
@@ -124,7 +124,7 @@
#elif defined _LIBC_REENTRANT
-# if USE___THREAD
+# if defined USE___THREAD
# ifndef NOT_IN_libc
# define SYSCALL_ERROR_ERRNO __libc_errno
# else