---
 mingw-w64-crt/Makefile.am                             |  1 -
 mingw-w64-crt/def-include/crt-aliases.def.in          |  1 +
 .../lib-common/api-ms-win-crt-stdio-l1-1-0.def        |  1 +
 mingw-w64-crt/stdio/fopen64.c                         | 11 -----------
 4 files changed, 2 insertions(+), 12 deletions(-)
 delete mode 100644 mingw-w64-crt/stdio/fopen64.c

diff --git a/mingw-w64-crt/Makefile.am b/mingw-w64-crt/Makefile.am
index 00d03690c443..ae731685d317 100644
--- a/mingw-w64-crt/Makefile.am
+++ b/mingw-w64-crt/Makefile.am
@@ -1113,7 +1113,6 @@ src_libmingwex=\
   stdio/strtok_r.c \
   stdio/_Exit.c            stdio/_findfirst64i32.c   stdio/_findnext64i32.c   
stdio/_wfindfirst64i32.c  stdio/_wfindnext64i32.c \
   stdio/asprintf.c \
-  stdio/fopen64.c                                                              
                                                 \
   stdio/ftruncate64.c      stdio/lltoa.c             stdio/lltow.c            
stdio/lseek64.c \
   stdio/__mingw_fix_stat_path.c stdio/__mingw_fix_wstat_path.c \
   \
diff --git a/mingw-w64-crt/def-include/crt-aliases.def.in 
b/mingw-w64-crt/def-include/crt-aliases.def.in
index eb80f4511ec6..4ddabf7bd5f7 100644
--- a/mingw-w64-crt/def-include/crt-aliases.def.in
+++ b/mingw-w64-crt/def-include/crt-aliases.def.in
@@ -298,6 +298,7 @@ ftello == ftell
 
 ; This is list of symbol aliases for Large File Specification (extension to 
Single UNIX Specification)
 ; https://unix.org/version2/whatsnew/lfs20mar.html#3.1 section 3.1 
Transitional Extensions
+fopen64 == fopen
 #ifndef NO_FPOS64_ALIASES
 ; fgetpos and fsetpos are already 64-bit
 fgetpos64 == fgetpos
diff --git a/mingw-w64-crt/lib-common/api-ms-win-crt-stdio-l1-1-0.def 
b/mingw-w64-crt/lib-common/api-ms-win-crt-stdio-l1-1-0.def
index f22ad052eb39..70a4230910d8 100644
--- a/mingw-w64-crt/lib-common/api-ms-win-crt-stdio-l1-1-0.def
+++ b/mingw-w64-crt/lib-common/api-ms-win-crt-stdio-l1-1-0.def
@@ -162,6 +162,7 @@ fgets
 fgetwc
 fgetws
 fopen
+fopen64 == fopen
 fopen_s
 fputc
 fputs
diff --git a/mingw-w64-crt/stdio/fopen64.c b/mingw-w64-crt/stdio/fopen64.c
deleted file mode 100644
index 1c6e78db5615..000000000000
--- a/mingw-w64-crt/stdio/fopen64.c
+++ /dev/null
@@ -1,11 +0,0 @@
-/**
- * This file has no copyright assigned and is placed in the Public Domain.
- * This file is part of the mingw-w64 runtime package.
- * No warranty is given; refer to the file DISCLAIMER.PD within this package.
- */
-#include <stdio.h>
-
-FILE* fopen64 (const char* filename, const char* mode)
-{
-  return fopen (filename, mode);
-}
-- 
2.20.1



_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to