Other symbol aliases for ISO C functions are already in msvcrt-common.def.in.
---
 mingw-w64-crt/def-include/msvcrt-common.def.in | 6 ++++++
 mingw-w64-crt/lib-common/ucrtbase.def.in       | 4 ----
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/mingw-w64-crt/def-include/msvcrt-common.def.in 
b/mingw-w64-crt/def-include/msvcrt-common.def.in
index 1e5e9c5aee38..a47142b6fb10 100644
--- a/mingw-w64-crt/def-include/msvcrt-common.def.in
+++ b/mingw-w64-crt/def-include/msvcrt-common.def.in
@@ -210,6 +210,12 @@ sinl == sin
 tanl == tan
 #endif
 
+; This is list of symbol aliases for C11 functions
+#ifdef UCRTBASE
+F32(timespec_get == _timespec32_get)
+F64(timespec_get == _timespec64_get)
+#endif
+
 ; This is list of symbol aliases for POSIX functions
 ADD_DOUBLE_UNDERSCORE(isascii)
 ADD_DOUBLE_UNDERSCORE(toascii)
diff --git a/mingw-w64-crt/lib-common/ucrtbase.def.in 
b/mingw-w64-crt/lib-common/ucrtbase.def.in
index c415cfcf1cd5..7453c2438ddf 100644
--- a/mingw-w64-crt/lib-common/ucrtbase.def.in
+++ b/mingw-w64-crt/lib-common/ucrtbase.def.in
@@ -2631,7 +2631,3 @@ wmemmove_s
 
 #define UCRTBASE
 #include "msvcrt-common.def.in"
-
-; These functions may satisfy configure scripts.
-F32(timespec_get == _timespec32_get)
-F64(timespec_get == _timespec64_get)
-- 
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