Permalink
Browse files

Fix the arm build with xcode 5.1.

  • Loading branch information...
1 parent f9b37c6 commit 3019283237a35625f8a5e904b3053307309e7682 @vargaz vargaz committed Dec 6, 2013
Showing with 6 additions and 1 deletion.
  1. +1 −1 external/ikvm
  2. +5 −0 mono/utils/mach-support-arm.c
Submodule ikvm updated 1 files
+4 −18 reflect/Fusion.cs
@@ -19,6 +19,11 @@
#include "utils/mono-compiler.h"
#include "mach-support.h"
+/* _mcontext.h now defines __darwin_mcontext32, not __darwin_mcontext, starting with Xcode 5.1 */
+#ifdef _STRUCT_MCONTEXT32
+ #define __darwin_mcontext __darwin_mcontext32
+#endif
+
/* Known offsets used for TLS storage*/

0 comments on commit 3019283

Please sign in to comment.