X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=libgc%2Fos_dep.c;h=39cb513f68f9e55410940d7d80f7a4388c95a810;hb=4909667ef8407cde06fe11372ed364bc74bc6512;hp=e92a9ef636c4ec2dbdb32a3109696df383c6d5f2;hpb=0443306d611d0830e27327e1f0a3ef3457dfa535;p=mono.git diff --git a/libgc/os_dep.c b/libgc/os_dep.c index e92a9ef636c..39cb513f68f 100644 --- a/libgc/os_dep.c +++ b/libgc/os_dep.c @@ -1396,7 +1396,7 @@ int * etext_addr; } # endif -# if defined(FREEBSD) && (defined(I386) || defined(powerpc) || defined(__powerpc__)) && !defined(PCR) +# if defined(FREEBSD) && (defined(I386) || defined(powerpc) || defined(__powerpc__) || defined(__x86_64__)) && !defined(PCR) /* Its unclear whether this should be identical to the above, or */ /* whether it should apply to non-X86 architectures. */ /* For now we don't assume that there is always an empty page after */ @@ -3702,7 +3702,7 @@ void GC_dirty_init() { mask, GC_ports.exception, EXCEPTION_DEFAULT, - MACHINE_THREAD_STATE + GC_MACH_THREAD_STATE_FLAVOR ); if(r != KERN_SUCCESS) ABORT("task_set_exception_ports failed");