]> git.saurik.com Git - apple/xnu.git/blobdiff - libsyscall/custom/__lseek.s
xnu-3789.70.16.tar.gz
[apple/xnu.git] / libsyscall / custom / __lseek.s
index b2d9215a3042d4586737ab947ebc617d66ef31b0..b051cc5a4a973f06c04599400e21c796879c2b83 100644 (file)
 
 #include "SYS.h"
 
 
 #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__)
 
 
 #elif defined(__i386__)
 
-__SYSCALL_INT(__lseek, lseek, 3)
-
-#elif defined(__arm__)
-
-__SYSCALL(__lseek, lseek, 4)
+__SYSCALL_INT(___lseek, lseek, 3)
 
 #else
 #error Unsupported architecture
 
 #else
 #error Unsupported architecture