about summary refs log tree commit diff
path: root/include/stdio.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/stdio.h')
-rw-r--r--include/stdio.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/stdio.h b/include/stdio.h
index dca8acc0..355f4259 100644
--- a/include/stdio.h
+++ b/include/stdio.h
@@ -167,6 +167,18 @@ char *fgets_unlocked(char *, int, FILE *);
 int fputs_unlocked(const char *, FILE *);
 #endif
 
+#ifdef _LARGEFILE64_SOURCE
+#define tmpfile64 tmpfile
+#define fopen64 fopen
+#define freopen64 freopen
+#define fseeko64 fseeko
+#define ftello64 ftello
+#define fgetpos64 fgetpos
+#define fsetpos64 fsetpos
+#define fpos64_t fpos_t
+#define off64_t off_t
+#endif
+
 #ifdef __cplusplus
 }
 #endif