adapt res_msend DNS query core for working with multiple sockets
[musl] / arch / microblaze / syscall_arch.h
index 8e2de7e..61d8248 100644 (file)
@@ -1,9 +1,7 @@
 #define __SYSCALL_LL_E(x) \
 ((union { long long ll; long l[2]; }){ .ll = x }).l[0], \
 ((union { long long ll; long l[2]; }){ .ll = x }).l[1]
-#define __SYSCALL_LL_O(x) 0, __SYSCALL_LL_E((x))
-
-#ifndef __clang__
+#define __SYSCALL_LL_O(x) __SYSCALL_LL_E((x))
 
 static __inline long __syscall0(long n)
 {
@@ -96,9 +94,6 @@ static inline long __syscall6(long n, long a, long b, long c, long d, long e, lo
        return r3;
 }
 
-#else
-
-#undef SYSCALL_NO_INLINE
-#define SYSCALL_NO_INLINE
+#define SYSCALL_IPC_BROKEN_MODE
 
-#endif
+#undef SYS_socketcall