X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/2d21ac55c334faf3a56e5634905ed6987fc787d4..4d15aeb193b2c68f1d38666c317f8d3734f5f083:/libsyscall/custom/__lseek.s?ds=sidebyside diff --git a/libsyscall/custom/__lseek.s b/libsyscall/custom/__lseek.s index b2d9215a3..b051cc5a4 100644 --- a/libsyscall/custom/__lseek.s +++ b/libsyscall/custom/__lseek.s @@ -28,17 +28,13 @@ #include "SYS.h" -#if defined(__ppc__) || defined(__ppc64__) || defined(__x86_64__) +#if defined(__x86_64__) -__SYSCALL(__lseek, lseek, 3) +__SYSCALL(___lseek, lseek, 3) #elif defined(__i386__) -__SYSCALL_INT(__lseek, lseek, 3) - -#elif defined(__arm__) - -__SYSCALL(__lseek, lseek, 4) +__SYSCALL_INT(___lseek, lseek, 3) #else #error Unsupported architecture