]> gitweb.factorcode.org Git - factor.git/blobdiff - vm/os-macosx.hpp
32 and 64 bit Linux PPC support
[factor.git] / vm / os-macosx.hpp
index 27eba772159ccc6521c4bbea608263d298c1fe1e..5a7f9ab842748a30b19e5bd9dbdfb77c955c27f0 100644 (file)
@@ -10,7 +10,13 @@ const char *vm_executable_path();
 const char *default_image_path();
 
 #define UAP_STACK_POINTER(ucontext) (((ucontext_t *)ucontext)->uc_stack.ss_sp)
+#define UAP_SET_TOC_POINTER(uap, ptr) (void)0
 
-#define UAP_STACK_POINTER_TYPE void*
+#define UAP_STACK_POINTER_TYPE void *
+
+#define CODE_TO_FUNCTION_POINTER(code) (void)0
+#define CODE_TO_FUNCTION_POINTER_CALLBACK(vm, code) (void)0
+#define FUNCTION_CODE_POINTER(ptr) ptr
+#define FUNCTION_TOC_POINTER(ptr) ptr
 
 }