summaryrefslogtreecommitdiff
path: root/rts/linker/PEi386.c
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2019-11-05 18:44:21 -0500
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-11-07 21:25:36 -0500
commitb1c158c9654d033dfe39bb042ec5d4d39a272298 (patch)
treee1691f52b89183a5c3d3e17447fe20513c9f91ad /rts/linker/PEi386.c
parent6b7d7e1c484cebe01014f4fa67abb48cacdd54f9 (diff)
downloadhaskell-b1c158c9654d033dfe39bb042ec5d4d39a272298.tar.gz
rts: Fix m32 allocator build on Windows
An inconsistency in the name of m32_allocator_flush caused the build to fail with a missing prototype error.
Diffstat (limited to 'rts/linker/PEi386.c')
-rw-r--r--rts/linker/PEi386.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/rts/linker/PEi386.c b/rts/linker/PEi386.c
index 788b239d9f..ce503bf149 100644
--- a/rts/linker/PEi386.c
+++ b/rts/linker/PEi386.c
@@ -1826,6 +1826,8 @@ makeSymbolExtra_PEi386( ObjectCode* oc, uint64_t index, size_t s, char* symbol )
return (size_t)extra->jumpIsland;
}
+void ocProtectExtras(ObjectCode* oc STG_UNUSED) { }
+
#endif /* x86_64_HOST_ARCH */
bool