projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
f5696e5
)
Merge pull request #4799 from xmcclure/mingw-has-secure-api
author
Rodrigo Kumpera
<kumpera@users.noreply.github.com>
Mon, 8 May 2017 16:07:46 +0000
(12:07 -0400)
committer
GitHub
<noreply@github.com>
Mon, 8 May 2017 16:07:46 +0000
(12:07 -0400)
Fix mingw/mxe build
mono/mini/exceptions-amd64.c
patch
|
blob
|
history
diff --git
a/mono/mini/exceptions-amd64.c
b/mono/mini/exceptions-amd64.c
index e02cdb8b8b25e4069eb0410d71210844740119ae..8314998fbc970f82ca0db4268a9da266b1152972 100644
(file)
--- a/
mono/mini/exceptions-amd64.c
+++ b/
mono/mini/exceptions-amd64.c
@@
-13,6
+13,11
@@
#include <config.h>
+// Secret password to unlock wcscat_s on mxe, must happen before string.h included
+#ifdef __MINGW32__
+#define MINGW_HAS_SECURE_API 1
+#endif
+
#include <glib.h>
#include <string.h>
@@
-899,6
+904,7
@@
mono_arch_exceptions_init (void)
}
}
+// Implies defined(TARGET_WIN32)
#ifdef MONO_ARCH_HAVE_UNWIND_TABLE
static void