1 64 bit targets often don't have a separate fcntl64() system call, because they don't need one.
3 Signed-off-by: Rob Landley <rob at landley.net>
5 --- uClibc/include/fcntl.h 2010-04-02 10:34:27.000000000 -0500
6 +++ uClibc.bak/include/fcntl.h 2010-05-16 04:54:10.000000000 -0500
9 This function is a cancellation point and therefore not marked with
11 -#ifndef __USE_FILE_OFFSET64
12 +#if !defined(__USE_FILE_OFFSET64) || defined(__LP64__)
13 extern int fcntl (int __fd, int __cmd, ...);
14 libc_hidden_proto(fcntl)
17 # define fcntl fcntl64
20 -#ifdef __USE_LARGEFILE64
21 +#if defined(__USE_LARGEFILE64) && !defined(__LP64__)
22 extern int fcntl64 (int __fd, int __cmd, ...);
23 libc_hidden_proto(fcntl64)