about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-08-12 22:05:11 +0000
committerUlrich Drepper <drepper@redhat.com>2000-08-12 22:05:11 +0000
commitf39b19c7ee6a593d6d70f409f0966cbd1be00d5b (patch)
tree8393883fe7046d8cf25bb3b6ce64659c1adf8c97
parentfacd11c28e11834052d048c603dac4c99ab2aeaa (diff)
downloadglibc-f39b19c7ee6a593d6d70f409f0966cbd1be00d5b.tar.gz
glibc-f39b19c7ee6a593d6d70f409f0966cbd1be00d5b.tar.xz
glibc-f39b19c7ee6a593d6d70f409f0966cbd1be00d5b.zip
(__ASSUME_FCNTL64): Define for 2.4.1 on sparc as well.
-rw-r--r--sysdeps/unix/sysv/linux/kernel-features.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/kernel-features.h b/sysdeps/unix/sysv/linux/kernel-features.h
index fc25acefd2..dfabfb252c 100644
--- a/sysdeps/unix/sysv/linux/kernel-features.h
+++ b/sysdeps/unix/sysv/linux/kernel-features.h
@@ -133,6 +133,6 @@
 /* To support locking of large files a new fcntl() syscall was introduced
    in 2.4.0-test7.  We test for 2.4.1 for the earliest version we know
    the syscall is available.  */
-#if __LINUX_KERNEL_VERSION >= 132097 && defined __i386__
+#if __LINUX_KERNEL_VERSION >= 132097 && (defined __i386__ || defined __sparc__)
 # define __ASSUME_FCNTL64		1
 #endif