Fix x86 Windows build and testsuite
authorTamar Christina <tamar@zhox.com>
Mon, 5 Dec 2016 21:27:23 +0000 (21:27 +0000)
committerTamar Christina <tamar@zhox.com>
Tue, 6 Dec 2016 07:01:23 +0000 (07:01 +0000)
commitb82f71b96660400b4b9fa7f3ccef9df7532bb2d7
treec9dce3ffb9744f9af91bf07288442040309d0b26
parent847d229346431483b99adcff12e46c7bf6af15da
Fix x86 Windows build and testsuite

Summary:
Fix issues preventing x86 GHC to build on Windows and
fix segfault in the testsuite.

Test Plan: ./validate

Reviewers: austin, erikd, simonmar, bgamari

Reviewed By: bgamari

Subscribers: #ghc_windows_task_force, thomie

Differential Revision: https://phabricator.haskell.org/D2789
rts/linker/PEi386.c
rts/posix/OSMem.c
rts/sm/OSMem.h
rts/win32/OSMem.c
rts/win32/OSThreads.c
testsuite/timeout/WinCBindings.hsc