]> Git Repo - qemu.git/commitdiff
Only define __llseek if it is going to be used
authorPaul Brook <[email protected]>
Tue, 19 May 2009 14:58:52 +0000 (15:58 +0100)
committerPaul Brook <[email protected]>
Tue, 19 May 2009 14:58:52 +0000 (15:58 +0100)
Signed-off-by: Paul Brook <[email protected]>
linux-user/syscall.c

index 76f0c95b9de505c9a9effb4ac9167ee0e91b0a87..b58220d9a857bdc102dced7bb99127b7de0e0ddd 100644 (file)
@@ -208,7 +208,7 @@ _syscall3(int, sys_getdents, uint, fd, struct linux_dirent *, dirp, uint, count)
 _syscall3(int, sys_getdents64, uint, fd, struct linux_dirent64 *, dirp, uint, count);
 #endif
 _syscall2(int, sys_getpriority, int, which, int, who);
-#if !defined (__x86_64__)
+#if defined(TARGET_NR__llseek) && !defined (__x86_64__)
 _syscall5(int, _llseek,  uint,  fd, ulong, hi, ulong, lo,
           loff_t *, res, uint, wh);
 #endif
This page took 0.029327 seconds and 4 git commands to generate.