about summary refs log tree commit diff
path: root/sysdeps/posix/preadv64.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/posix/preadv64.c')
-rw-r--r--sysdeps/posix/preadv64.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/sysdeps/posix/preadv64.c b/sysdeps/posix/preadv64.c
new file mode 100644
index 0000000000..198622353a
--- /dev/null
+++ b/sysdeps/posix/preadv64.c
@@ -0,0 +1,9 @@
+#include <bits/wordsize.h>
+
+#if __WORDSIZE == 32
+# define PREADV preadv64
+# define PREAD __pread64
+# define OFF_T off64_t
+
+# include "preadv.c"
+#endif