Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeoff Norton <grompf@sublimeintervention.com>2007-11-06 01:04:06 +0300
committerGeoff Norton <grompf@sublimeintervention.com>2007-11-06 01:04:06 +0300
commitaa6355166b79f8074afbec36734ce2fb9f277ac3 (patch)
tree015ecb7d75b5a383d62c2900264e00217a8acbc9 /libgc/darwin_stop_world.c
parenta21525461c3c5b7a9ea40e328ef03dbae4c1c7bb (diff)
2007-11-05 Geoff Norton <gnorton@novell.com>
* darwin_stop_world.c: Correct the structure name on Darwin-x86 for Leopard. svn path=/trunk/mono/; revision=88924
Diffstat (limited to 'libgc/darwin_stop_world.c')
-rw-r--r--libgc/darwin_stop_world.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libgc/darwin_stop_world.c b/libgc/darwin_stop_world.c
index 4d17f7aa26e..20f3fc7614d 100644
--- a/libgc/darwin_stop_world.c
+++ b/libgc/darwin_stop_world.c
@@ -102,7 +102,7 @@ void GC_push_all_stacks() {
if(r != KERN_SUCCESS) ABORT("thread_get_state failed");
#if defined(I386)
-#if defined(_STRUCT_X86_EXCEPTION_STATE)
+#if defined(_STRUCT_X86_EXCEPTION_STATE32)
lo = state.__esp;
GC_push_one(state.__eax);
@@ -327,7 +327,7 @@ void GC_push_all_stacks() {
(natural_t *)&info, &outCount);
if(r != KERN_SUCCESS) continue;
-#if defined(_STRUCT_X86_EXCEPTION_STATE)
+#if defined(_STRUCT_X86_EXCEPTION_STATE32)
lo = (void*)info.__esp;
hi = (ptr_t)FindTopOfStack(info.__esp);