diff options
author | Moritz Angermann <moritz.angermann@gmail.com> | 2018-03-02 14:19:58 -0500 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2018-03-02 15:41:04 -0500 |
commit | 4a0d0d8062a204b867fc510c50e69a056ce7636f (patch) | |
tree | 0168120d4d35fa80a4512934ffc331ce0ca502ff /libraries/base/cbits | |
parent | aef2b429072e3d3bbdbcb9e4082a0d86ba329d9e (diff) | |
download | haskell-4a0d0d8062a204b867fc510c50e69a056ce7636f.tar.gz |
Various Windows / Cross Compile to Windows fixes
- Adds quick-cross-ncg flavour.
- Fix windows wchar with `_s` for mingw
- Lookup windres, dllwrap and objdump
- Fix type.
Reviewers: bgamari, hvr, Phyx, erikd, simonmar
Reviewed By: bgamari
Subscribers: rwbarton, thomie, erikd, carter
Differential Revision: https://phabricator.haskell.org/D4430
Diffstat (limited to 'libraries/base/cbits')
-rw-r--r-- | libraries/base/cbits/Win32Utils.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libraries/base/cbits/Win32Utils.c b/libraries/base/cbits/Win32Utils.c index ce7ce97fc0..b33db04c35 100644 --- a/libraries/base/cbits/Win32Utils.c +++ b/libraries/base/cbits/Win32Utils.c @@ -9,6 +9,8 @@ #include "HsBase.h" #include <stdbool.h> #include <stdint.h> +/* Using Secure APIs */ +#define MINGW_HAS_SECURE_API 1 #include <wchar.h> #include <windows.h> |