summaryrefslogtreecommitdiff
path: root/libio/iofopen64.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/iofopen64.c')
-rw-r--r--libio/iofopen64.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/libio/iofopen64.c b/libio/iofopen64.c
index daf722432d..e3c7c29903 100644
--- a/libio/iofopen64.c
+++ b/libio/iofopen64.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993-2016 Free Software Foundation, Inc.
+/* Copyright (C) 1993-2018 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -29,16 +29,14 @@
#include <stdlib.h>
/* iofopen.c defines _IO_fopen64/fopen64 as aliases if O_LARGEFILE==0. */
-#if !defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)
+#if defined O_LARGEFILE && O_LARGEFILE != 0
-_IO_FILE *
+FILE *
_IO_fopen64 (const char *filename, const char *mode)
{
return __fopen_internal (filename, mode, 0);
}
-#ifdef weak_alias
weak_alias (_IO_fopen64, fopen64)
-#endif
#endif