gencgc: More precise conservatism for pointers to boxed pages.
[sbcl.git] / src / runtime / ppc-darwin-os.h
index 6d23ee2..119dcbd 100644 (file)
@@ -1,18 +1,19 @@
 #ifndef _PPC_DARWIN_OS_H
 #define _PPC_DARWIN_OS_H
 
+#include "darwin-os.h"
+
 typedef unsigned int os_context_register_t;
 
 static inline os_context_t *arch_os_get_context(void **void_context)
 {
     return (os_context_t *) *void_context;
 }
-/* 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. MAC_OS_X_VERSION_10_5 seems to be a good test to see if
- * we need the new style field names.
+/* On OS X 10.5, the field names for the thread state have changed and
+ * now are prepended with __. Use some #define hackery to deal with
+ * this.
  */
-#if MAC_OS_X_VERSION_10_5
+#if __DARWIN_UNIX03
 
 #define PPC_DARWIN_REGIFY(foo) __ ## foo
 
@@ -24,6 +25,6 @@ typedef ppc_thread_state_t ppc_ss_struct_t;
 
 typedef ppc_saved_state_t ppc_ss_struct_t;
 
-#endif /* MAC_OS_X_VERSION_10_5 */
+#endif /* __DARWIN_UNIX03 */
 
 #endif /* _PPC_DARWIN_OS_H */