aboutsummaryrefslogtreecommitdiffstats
path: root/community/ccl/remove-usage-of-lseek64.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/ccl/remove-usage-of-lseek64.patch')
-rw-r--r--community/ccl/remove-usage-of-lseek64.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/community/ccl/remove-usage-of-lseek64.patch b/community/ccl/remove-usage-of-lseek64.patch
new file mode 100644
index 00000000000..547a74ce6eb
--- /dev/null
+++ b/community/ccl/remove-usage-of-lseek64.patch
@@ -0,0 +1,14 @@
+--- a/lisp-kernel/unix-calls.c
++++ b/lisp-kernel/unix-calls.c
+@@ -66,11 +66,7 @@
+ int64_t
+ lisp_lseek(int fd, int64_t offset, int whence)
+ {
+-#ifdef LINUX
+- return lseek64(fd,offset,whence);
+-#else
+ return lseek(fd,offset,whence);
+-#endif
+ }
+
+ int