summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Scott <ryan.gl.scott@gmail.com>2023-04-28 07:55:33 -0400
committerRyan Scott <ryan.gl.scott@gmail.com>2023-05-10 09:04:07 -0400
commitd2013f4dac3890aa67a8ec6b3b9b7999ca61dca8 (patch)
tree483a1fb61c22776d22b7422205c8a30e053af668
parent73dacb83fe230f04c192b9750be5b3eb0d6692bf (diff)
downloadhaskell-d2013f4dac3890aa67a8ec6b3b9b7999ca61dca8.tar.gz
RtsSymbols.c: Remove mingwex symbol stubswip/T23309
As of !9475, the RTS now links against `ucrt` instead of `msvcrt` on Windows, which means that the RTS no longer needs to declare stubs for the `__mingw_*` family of symbols. Let's remove these stubs to avoid confusion. Fixes #23309.
-rw-r--r--rts/RtsSymbols.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/rts/RtsSymbols.c b/rts/RtsSymbols.c
index 78c83b5da0..4a66d4da0c 100644
--- a/rts/RtsSymbols.c
+++ b/rts/RtsSymbols.c
@@ -176,17 +176,11 @@ extern char **environ;
/* see Note [Symbols for MinGW's printf] */ \
SymI_HasProto(_lock_file) \
SymI_HasProto(_unlock_file) \
- SymI_HasProto(__mingw_vsnwprintf) \
- /* ^^ Need to figure out why this is needed. */ \
/* See Note [_iob_func symbol] */ \
RTS_WIN64_ONLY(SymI_HasProto_redirect( \
__imp___acrt_iob_func, __rts_iob_func, STRENGTH_WEAK, SYM_TYPE_INDIRECT_DATA)) \
RTS_WIN32_ONLY(SymI_HasProto_redirect( \
- __imp____acrt_iob_func, __rts_iob_func, STRENGTH_WEAK, SYM_TYPE_INDIRECT_DATA)) \
- SymI_HasProto(__mingw_vsnwprintf) \
- /* ^^ Need to figure out why this is needed. */ \
- SymI_HasProto(__mingw_vfprintf) \
- /* ^^ Need to figure out why this is needed. */
+ __imp____acrt_iob_func, __rts_iob_func, STRENGTH_WEAK, SYM_TYPE_INDIRECT_DATA))
#else
#define RTS_MINGW_ONLY_SYMBOLS /**/
#endif