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