summaryrefslogtreecommitdiff
path: root/rts/RtsSymbols.c
diff options
context:
space:
mode:
authorTamar Christina <tamar@zhox.com>2019-06-16 21:30:14 +0100
committerBen Gamari <ben@smart-cactus.org>2020-07-15 16:41:01 -0400
commit4bf542bf1cdf2fa468457fc0af21333478293476 (patch)
tree8378f0fa182d8e829e15fc5d102ba01aa8bd038e /rts/RtsSymbols.c
parent050da6dd42d0cb293c7fce4a5ccdeb5abe1aadb4 (diff)
downloadhaskell-4bf542bf1cdf2fa468457fc0af21333478293476.tar.gz
winio: Multiple refactorings and support changes.
Diffstat (limited to 'rts/RtsSymbols.c')
-rw-r--r--rts/RtsSymbols.c22
1 files changed, 16 insertions, 6 deletions
diff --git a/rts/RtsSymbols.c b/rts/RtsSymbols.c
index 0f0bd56c82..ff430d0137 100644
--- a/rts/RtsSymbols.c
+++ b/rts/RtsSymbols.c
@@ -26,6 +26,7 @@
#include <io.h>
#include <windows.h>
#include <shfolder.h> /* SHGetFolderPathW */
+#include "win32/AsyncWinIO.h"
#endif
#if defined(openbsd_HOST_OS)
@@ -142,11 +143,15 @@
/* 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, true)) \
RTS_WIN32_ONLY(SymI_HasProto_redirect( \
- __imp____acrt_iob_func, __rts_iob_func, true))
+ __imp____acrt_iob_func, __rts_iob_func, true)) \
+ SymI_HasProto(__mingw_vsnwprintf)
+ /* ^^ Need to figure out why this is needed. */
#define RTS_MINGW_COMPAT_SYMBOLS \
SymI_HasProto_deprecated(access) \
@@ -337,11 +342,16 @@
SymI_HasProto(blockUserSignals) \
SymI_HasProto(unblockUserSignals)
#else
-#define RTS_USER_SIGNALS_SYMBOLS \
- SymI_HasProto(ioManagerWakeup) \
- SymI_HasProto(sendIOManagerEvent) \
- SymI_HasProto(readIOManagerEvent) \
- SymI_HasProto(getIOManagerEvent) \
+#define RTS_USER_SIGNALS_SYMBOLS \
+ SymI_HasProto(registerNewIOCPHandle) \
+ SymI_HasProto(getOverlappedEntries) \
+ SymI_HasProto(servicedIOEntries) \
+ SymI_HasProto(completeSynchronousRequest) \
+ SymI_HasProto(registerAlertableWait) \
+ SymI_HasProto(ioManagerWakeup) \
+ SymI_HasProto(sendIOManagerEvent) \
+ SymI_HasProto(readIOManagerEvent) \
+ SymI_HasProto(getIOManagerEvent) \
SymI_HasProto(console_handler)
#endif