diff options
author | Paul Brook <paul@codesourcery.com> | 2009-05-19 15:58:52 +0100 |
---|---|---|
committer | Paul Brook <paul@codesourcery.com> | 2009-05-19 15:58:52 +0100 |
commit | 909b69cf52f5267a49909c0ac1ece6c09c0d62b5 (patch) | |
tree | 7e6b0f159ca6a0747f5427b9d0589e2f29a56f84 | |
parent | 425be425f65771d9e45e5ea889b997e003afb705 (diff) | |
download | qemu-909b69cf52f5267a49909c0ac1ece6c09c0d62b5.zip qemu-909b69cf52f5267a49909c0ac1ece6c09c0d62b5.tar.gz qemu-909b69cf52f5267a49909c0ac1ece6c09c0d62b5.tar.bz2 |
Only define __llseek if it is going to be used
Signed-off-by: Paul Brook <paul@codesourcery.com>
-rw-r--r-- | linux-user/syscall.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 76f0c95..b58220d 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -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 |