diff options
author | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-08-04 01:49:49 +0000 |
---|---|---|
committer | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-08-04 01:49:49 +0000 |
commit | 67787bc9576a9e995cfc74d548b089af84ac97b9 (patch) | |
tree | a5291cca0702ce32f0c74b7912a3a29012f9d95b /libc/sysdeps/linux/common/__syscall_fcntl.c | |
parent | 4e4163c84b41138f68634bd60300f6407ceec8df (diff) | |
download | uClibc-alpine-67787bc9576a9e995cfc74d548b089af84ac97b9.tar.bz2 uClibc-alpine-67787bc9576a9e995cfc74d548b089af84ac97b9.tar.xz |
Merge with latest changes from the trunk.
Diffstat (limited to 'libc/sysdeps/linux/common/__syscall_fcntl.c')
-rw-r--r-- | libc/sysdeps/linux/common/__syscall_fcntl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/common/__syscall_fcntl.c b/libc/sysdeps/linux/common/__syscall_fcntl.c index 0a5812976..e4257b0c8 100644 --- a/libc/sysdeps/linux/common/__syscall_fcntl.c +++ b/libc/sysdeps/linux/common/__syscall_fcntl.c @@ -11,7 +11,7 @@ #include <stdarg.h> #include <fcntl.h> -#ifdef __UCLIBC_HAS_LFS__ +#if defined __UCLIBC_HAS_LFS__ && defined __NR_fcntl64 extern int __libc_fcntl64(int fd, int cmd, long arg); #endif @@ -29,7 +29,7 @@ int __libc_fcntl(int fd, int cmd, ...) va_end(list); if (cmd == F_GETLK64 || cmd == F_SETLK64 || cmd == F_SETLKW64) { -#ifdef __UCLIBC_HAS_LFS__ +#if defined __UCLIBC_HAS_LFS__ && defined __NR_fcntl64 return __libc_fcntl64(fd, cmd, arg); #else __set_errno(ENOSYS); |