projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22d5581
)
[runtime] Fixed Windows mono_threads_core_get_stack_bounds to work with cross-compile...
author
João Matos
<joao@tritao.eu>
Mon, 9 Mar 2015 14:20:36 +0000
(14:20 +0000)
committer
João Matos
<joao@tritao.eu>
Mon, 9 Mar 2015 14:22:01 +0000
(14:22 +0000)
mono/utils/mono-threads-windows.c
patch
|
blob
|
history
diff --git
a/mono/utils/mono-threads-windows.c
b/mono/utils/mono-threads-windows.c
index 02bd26e0c793988c8fc4f2d15ac766df70c5014d..e5de15123b236096a050e87acb15332cef936877 100755
(executable)
--- a/
mono/utils/mono-threads-windows.c
+++ b/
mono/utils/mono-threads-windows.c
@@
-264,7
+264,7
@@
void
mono_threads_core_get_stack_bounds (guint8 **staddr, size_t *stsize)
{
MEMORY_BASIC_INFORMATION meminfo;
-#ifdef
TARGET_AMD
64
+#ifdef
_WIN
64
/* win7 apis */
NT_TIB* tib = (NT_TIB*)NtCurrentTeb();
guint8 *stackTop = (guint8*)tib->StackBase;