summaryrefslogtreecommitdiff
path: root/toolchain/uClibc/patches-0.9.31/903-fcntl64_fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/uClibc/patches-0.9.31/903-fcntl64_fix.patch')
-rw-r--r--toolchain/uClibc/patches-0.9.31/903-fcntl64_fix.patch26
1 files changed, 0 insertions, 26 deletions
diff --git a/toolchain/uClibc/patches-0.9.31/903-fcntl64_fix.patch b/toolchain/uClibc/patches-0.9.31/903-fcntl64_fix.patch
deleted file mode 100644
index 8bb01a6..0000000
--- a/toolchain/uClibc/patches-0.9.31/903-fcntl64_fix.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-64 bit targets often don't have a separate fcntl64() system call, because they don't need one.
-
-Signed-off-by: Rob Landley <rob at landley.net>
-
---- uClibc/include/fcntl.h 2010-04-02 10:34:27.000000000 -0500
-+++ uClibc.bak/include/fcntl.h 2010-05-16 04:54:10.000000000 -0500
-@@ -73,7 +73,7 @@
-
- This function is a cancellation point and therefore not marked with
- __THROW. */
--#ifndef __USE_FILE_OFFSET64
-+#if !defined(__USE_FILE_OFFSET64) || defined(__LP64__)
- extern int fcntl (int __fd, int __cmd, ...);
- libc_hidden_proto(fcntl)
- #else
-@@ -83,7 +83,7 @@
- # define fcntl fcntl64
- # endif
- #endif
--#ifdef __USE_LARGEFILE64
-+#if defined(__USE_LARGEFILE64) && !defined(__LP64__)
- extern int fcntl64 (int __fd, int __cmd, ...);
- libc_hidden_proto(fcntl64)
- #endif
-
---