fix incorrect closing parenthesis
Move e2k check inside the arch list check so the OS check applies to all.
Bug: https://crbug.com/linux-syscall-support/43
Change-Id: If4e69330288f785a21545f83e4ae545e72288f07
Reviewed-on: https://chromium-review.googlesource.com/c/linux-syscall-support/+/2820977
Reviewed-by: Mike Frysinger <vapier@chromium.org>
diff --git a/linux_syscall_support.h b/linux_syscall_support.h
index 8d4e4d2..d3791cd 100644
--- a/linux_syscall_support.h
+++ b/linux_syscall_support.h
@@ -88,7 +88,7 @@
*/
#if (defined(__i386__) || defined(__x86_64__) || defined(__ARM_ARCH_3__) || \
defined(__mips__) || defined(__PPC__) || defined(__ARM_EABI__) || \
- defined(__aarch64__) || defined(__s390__)) || defined(__e2k__) \
+ defined(__aarch64__) || defined(__s390__) || defined(__e2k__)) \
&& (defined(__linux) || defined(__ANDROID__))
#ifndef SYS_CPLUSPLUS
@@ -1924,8 +1924,8 @@
#endif
#undef LSS_RETURN
- #if (defined(__i386__) || defined(__x86_64__) || defined(__ARM_ARCH_3__) \
- || defined(__ARM_EABI__) || defined(__aarch64__) || defined(__s390__)) \
+ #if defined(__i386__) || defined(__x86_64__) || defined(__ARM_ARCH_3__) \
+ || defined(__ARM_EABI__) || defined(__aarch64__) || defined(__s390__) \
|| defined(__e2k__)
/* Failing system calls return a negative result in the range of
* -1..-4095. These are "errno" values with the sign inverted.