diff options
Diffstat (limited to 'rts/PathUtils.c')
-rw-r--r-- | rts/PathUtils.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/rts/PathUtils.c b/rts/PathUtils.c index 1b0b729f07..def3f7e329 100644 --- a/rts/PathUtils.c +++ b/rts/PathUtils.c @@ -7,6 +7,11 @@ #include <libgen.h> #include <ctype.h> +#if defined(mingw32_HOST_OS) +/* Using Secure APIs */ +#define MINGW_HAS_SECURE_API 1 +#include <wchar.h> +#endif pathchar* pathdup(pathchar *path) { |