toolchain/uClibc: use an upstream patch to fix syscall related build errors in 0...
[openwrt.git] / toolchain / uClibc / patches-0.9.33 / 161-mips-add-INLINE_SYSCALL_NOERR-macro.patch
diff --git a/toolchain/uClibc/patches-0.9.33/161-mips-add-INLINE_SYSCALL_NOERR-macro.patch b/toolchain/uClibc/patches-0.9.33/161-mips-add-INLINE_SYSCALL_NOERR-macro.patch
deleted file mode 100644 (file)
index 0cf3678..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
---- a/libc/sysdeps/linux/mips/bits/syscalls.h
-+++ b/libc/sysdeps/linux/mips/bits/syscalls.h
-@@ -29,6 +29,12 @@
-        }                                                              \
-      result_var; })
-+#define INLINE_SYSCALL_NOERR(name, nr, args...)                               \
-+  ({ INTERNAL_SYSCALL_DECL(err);                                      \
-+     long result_var = INTERNAL_SYSCALL(name, err, nr, args);         \
-+     if (err) do { } while (0);                                               \
-+     result_var; })
-+
- #define INTERNAL_SYSCALL_DECL(err) long err
- #define INTERNAL_SYSCALL_ERROR_P(val, err)   ((long) (err))
This page took 0.021103 seconds and 4 git commands to generate.