summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2020-10-15 18:28:11 -0400
committerBen Gamari <ben@smart-cactus.org>2020-10-16 00:15:31 -0400
commit330a5433b709c0cc16eb5fe9a06c21f4b2009be7 (patch)
tree9c9b29274ea325a92fa6abc4622f0ee4f5fabdce
parentc7989c936390441886e9cd1cda1c093dd4b32413 (diff)
downloadhaskell-330a5433b709c0cc16eb5fe9a06c21f4b2009be7.tar.gz
rts: Add __mingw_vfprintf to RtsSymbols.c
Following the model of the other printf symbols. See Note [Symbols for MinGW's printf].
-rw-r--r--rts/RtsSymbols.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/rts/RtsSymbols.c b/rts/RtsSymbols.c
index 6d3ff2929e..9b8a4ae16d 100644
--- a/rts/RtsSymbols.c
+++ b/rts/RtsSymbols.c
@@ -151,7 +151,9 @@
__imp___acrt_iob_func, __rts_iob_func, true)) \
RTS_WIN32_ONLY(SymI_HasProto_redirect( \
__imp____acrt_iob_func, __rts_iob_func, true)) \
- SymI_HasProto(__mingw_vsnwprintf)
+ SymI_HasProto(__mingw_vsnwprintf) \
+ /* ^^ Need to figure out why this is needed. */ \
+ SymI_HasProto(__mingw_vfprintf) \
/* ^^ Need to figure out why this is needed. */
#define RTS_MINGW_COMPAT_SYMBOLS \