summaryrefslogtreecommitdiff
path: root/libc/stdio/freopen.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdio/freopen.c')
-rw-r--r--libc/stdio/freopen.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/libc/stdio/freopen.c b/libc/stdio/freopen.c
index 0eccaac1f..7df035d48 100644
--- a/libc/stdio/freopen.c
+++ b/libc/stdio/freopen.c
@@ -7,14 +7,7 @@
#include "_stdio.h"
-#ifdef __DO_LARGEFILE
-# ifndef __UCLIBC_HAS_LFS__
-# error large file support is not enabled!
-# endif
-
-# define freopen freopen64
-# define FILEDES_ARG (-2)
-#else
+#ifndef __DO_LARGEFILE
# define FILEDES_ARG (-1)
#endif