Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
16a9e2dc
Commit
16a9e2dc
authored
May 20, 2009
by
Simon Marlow
Browse files
Windows: load msvcrt and kernel32 manually
parent
d282b3c7
Changes
1
Hide whitespace changes
Inline
Side-by-side
rts/Linker.c
View file @
16a9e2dc
...
...
@@ -1054,6 +1054,16 @@ initLinker( void )
mmap_32bit_base
=
(
void
*
)
RtsFlags
.
MiscFlags
.
linkerMemBase
;
}
#endif
#if defined(mingw32_HOST_OS)
/*
* These two libraries cause problems when added to the static link,
* but are necessary for resolving symbols in GHCi, hence we load
* them manually here.
*/
addDLL
(
"msvcrt"
);
addDLL
(
"kernel32"
);
#endif
}
/* -----------------------------------------------------------------------------
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment