diff options
Diffstat (limited to 'libc/sysdeps/linux/sparc/bits/syscalls.h')
-rw-r--r-- | libc/sysdeps/linux/sparc/bits/syscalls.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/sparc/bits/syscalls.h b/libc/sysdeps/linux/sparc/bits/syscalls.h index dc8d63713..948c2fa3e 100644 --- a/libc/sysdeps/linux/sparc/bits/syscalls.h +++ b/libc/sysdeps/linux/sparc/bits/syscalls.h @@ -36,6 +36,7 @@ #endif #define INTERNAL_SYSCALL_NCS(sys_num, err, nr, args...) \ +(__extension__ \ ({ \ unsigned int __res; \ { \ @@ -48,8 +49,8 @@ : __SYSCALL_CLOBBERS ); \ } \ (int)__res; \ - }) - + }) \ +) #define INTERNAL_SYSCALL_ERROR_P(val, err) \ ((unsigned int) (val) >= 0xfffff001u) |