*/
os_context_t *context;
-#if __DARWIN_UNIX03
+#if MAC_OS_X_VERSION_10_5
struct __darwin_mcontext32 *regs;
#else
struct mcontext *regs;
#endif
context = (os_context_t*) os_validate(0, sizeof(os_context_t));
-#if __DARWIN_UNIX03
+#if MAC_OS_X_VERSION_10_5
regs = (struct __darwin_mcontext32*) os_validate(0, sizeof(struct __darwin_mcontext32));
#else
regs = (struct mcontext*) os_validate(0, sizeof(struct mcontext));
update_thread_state_from_context(thread_state, float_state, context);
os_invalidate((os_vm_address_t)context, sizeof(os_context_t));
-#if __DARWIN_UNIX03
+#if MAC_OS_X_VERSION_10_5
os_invalidate((os_vm_address_t)regs, sizeof(struct __darwin_mcontext32));
#else
os_invalidate((os_vm_address_t)regs, sizeof(struct mcontext));
/* 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
#define SS ss
#define GS gs
-#endif /* __DARWIN_UNIX03 */
+#endif /* MAC_OS_X_VERSION_10_5 */
;;; checkins which aren't released. (And occasionally for internal
;;; versions, especially for internal versions off the main CVS
;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
-"1.0.11.4"
+"1.0.11.5"