projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
1.0.12.33: Have foreign.test.sh create .so files under the test directory
[sbcl.git]
/
src
/
runtime
/
x86-darwin-os.h
diff --git
a/src/runtime/x86-darwin-os.h
b/src/runtime/x86-darwin-os.h
index
79dea31
..
edc3a6c
100644
(file)
--- a/
src/runtime/x86-darwin-os.h
+++ b/
src/runtime/x86-darwin-os.h
@@
-16,14
+16,12
@@
static inline os_context_t *arch_os_get_context(void **void_context)
void set_data_desc_size(data_desc_t* desc, unsigned long size);
void set_data_desc_addr(data_desc_t* desc, void* addr);
void set_data_desc_size(data_desc_t* desc, unsigned long size);
void set_data_desc_addr(data_desc_t* desc, void* addr);
-#define DARWIN_FIX_CONTEXT(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
/* 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 CONTEXT_ADDR_FROM_STEM(stem) &context->uc_mcontext->__ss.__##stem
#define EIP __eip
@@
-63,7
+61,7
@@
void set_data_desc_addr(data_desc_t* desc, void* addr);
#define SS ss
#define GS gs
#define SS ss
#define GS gs
-#endif /* __DARWIN_UNIX03 */
+#endif /* MAC_OS_X_VERSION_10_5 */