summaryrefslogtreecommitdiff
path: root/libraries/base/cbits
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/base/cbits')
-rw-r--r--libraries/base/cbits/Win32Utils.c2
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>