Add `_unlock_file` to RTS symbols
authorTamar Christina <tamar@zhox.com>
Sat, 10 Dec 2016 20:33:53 +0000 (15:33 -0500)
committerBen Gamari <ben@smart-cactus.org>
Sat, 10 Dec 2016 20:33:54 +0000 (15:33 -0500)
Reviewers: bgamari, austin, erikd, simonmar

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D2818

rts/RtsSymbols.c

index fdfbba3..8485530 100644 (file)
       RTS_WIN32_ONLY(SymI_HasProto(_imp___iob))          \
       RTS_WIN64_ONLY(SymI_HasProto(__iob_func))          \
       /* see Note [Symbols for MinGW's printf] */        \
-      SymI_HasProto(_lock_file)
+      SymI_HasProto(_lock_file)                          \
+      SymI_HasProto(_unlock_file)
 
 #define RTS_MINGW_COMPAT_SYMBOLS                         \
       SymI_HasProto_deprecated(access)                   \