X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fx86-darwin-os.h;h=4ad51e35e75f9c5c1d53843e10a5f48a4e59073b;hb=2529c316d05494f2bcdeccf98c3a6298ecd08d7d;hp=79dea316082be20a592cdaa420456a7b92b01a84;hpb=127fd3d2fb843c6bb7ad0763e143d81877e760e8;p=sbcl.git diff --git a/src/runtime/x86-darwin-os.h b/src/runtime/x86-darwin-os.h index 79dea31..4ad51e3 100644 --- a/src/runtime/x86-darwin-os.h +++ b/src/runtime/x86-darwin-os.h @@ -20,10 +20,10 @@ void set_data_desc_addr(data_desc_t* desc, void* addr); /* As of XCode 3.0, the field names for the thread state have changed * and now are prepended with __. Use some #define hackery to deal - * with this. __DARWIN_UNIX03 seems to be a good test to see if we - * need the new style field names. + * with this. MAC_OS_X_VERSION_10_5 seems to be a good test to see if + * we need the new style field names. */ -#if __DARWIN_UNIX03 +#if MAC_OS_X_VERSION_10_5 #define CONTEXT_ADDR_FROM_STEM(stem) &context->uc_mcontext->__ss.__##stem #define EIP __eip @@ -63,7 +63,7 @@ void set_data_desc_addr(data_desc_t* desc, void* addr); #define SS ss #define GS gs -#endif /* __DARWIN_UNIX03 */ +#endif /* MAC_OS_X_VERSION_10_5 */