projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a604e7
)
Fix the mingw64 build.
author
Zoltan Varga
<vargaz@gmail.com>
Mon, 14 Jul 2014 18:03:36 +0000
(20:03 +0200)
committer
Zoltan Varga
<vargaz@gmail.com>
Mon, 14 Jul 2014 18:03:36 +0000
(20:03 +0200)
mono/utils/mono-context.h
patch
|
blob
|
history
diff --git
a/mono/utils/mono-context.h
b/mono/utils/mono-context.h
index a84b5b5096a559b907bf60eb17d8bcfa4aab71de..11254802fc4606e16563ec5c8de6f2470f585a92 100755
(executable)
--- a/
mono/utils/mono-context.h
+++ b/
mono/utils/mono-context.h
@@
-180,7
+180,8
@@
typedef struct {
#define MONO_CONTEXT_GET_BP(ctx) ((gpointer)((ctx)->rbp))
#define MONO_CONTEXT_GET_SP(ctx) ((gpointer)((ctx)->rsp))
-#if defined (HOST_WIN32)
+#if defined (HOST_WIN32) && !defined(__GNUC__)
+/* msvc doesn't support inline assembly, so have to use a separate .asm file */
extern void mono_context_get_current (void *);
#define MONO_CONTEXT_GET_CURRENT(ctx) do { mono_context_get_current((void*)&(ctx)); } while (0)