Slava Pestov <[EMAIL PROTECTED]> wrote:
> We have these macros in os-macosx-x86.32.h:
> 
> #if __DARWIN_UNIX03
>        #define MACH_EXC_STATE_FAULT(exc_state) (exc_state)->__faultvaddr
>        #define MACH_STACK_POINTER(thr_state) (thr_state)->__esp
>        #define MACH_PROGRAM_COUNTER(thr_state) (thr_state)->__eip
>        #define UAP_PROGRAM_COUNTER(ucontext) \
>                MACH_PROGRAM_COUNTER(&(((ucontext_t 
> *)(ucontext))->uc_mcontext->__ss))
> #else
>        #define MACH_EXC_STATE_FAULT(exc_state) (exc_state)->faultvaddr
>        #define MACH_STACK_POINTER(thr_state) (thr_state)->esp
>        #define MACH_PROGRAM_COUNTER(thr_state) (thr_state)->eip
>        #define UAP_PROGRAM_COUNTER(ucontext) \
>                MACH_PROGRAM_COUNTER(&(((ucontext_t 
> *)(ucontext))->uc_mcontext->ss))    
> #endif
> 
> __DARWIN_UNIX03 is defined on 10.5 but not 10.4
> 
> I know that it compiles on 10.5 for sure, so it seems that the second  
> definition of UAP_PROGRAM_COUNTER is incorrect.

According to git-blame, these lines aren't new. As the lines in
vm/os-unix.c. Factor always compiled on this machine.


-- 
Web (en): http://www.no-spoon.de/ -*- Web (de): http://www.frell.de/


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to