Commit 909b69cf52f5267a49909c0ac1ece6c09c0d62b5
1 parent
425be425
Only define __llseek if it is going to be used
Signed-off-by: Paul Brook <paul@codesourcery.com>
Showing
1 changed file
with
1 additions
and
1 deletions
linux-user/syscall.c
... | ... | @@ -208,7 +208,7 @@ _syscall3(int, sys_getdents, uint, fd, struct linux_dirent *, dirp, uint, count) |
208 | 208 | _syscall3(int, sys_getdents64, uint, fd, struct linux_dirent64 *, dirp, uint, count); |
209 | 209 | #endif |
210 | 210 | _syscall2(int, sys_getpriority, int, which, int, who); |
211 | -#if !defined (__x86_64__) | |
211 | +#if defined(TARGET_NR__llseek) && !defined (__x86_64__) | |
212 | 212 | _syscall5(int, _llseek, uint, fd, ulong, hi, ulong, lo, |
213 | 213 | loff_t *, res, uint, wh); |
214 | 214 | #endif | ... | ... |