Changeset 4938


Ignore:
Timestamp:
Aug 8, 2006, 12:02:08 PM (18 years ago)
Author:
Gary Byers
Message:

xcode 2.4 headers: <i386/ucontext.h> doesn't define mcontext64, but lots
of other things reference it. #define it here for now, but that'll likely
break when the headers are fixed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ccl/lisp-kernel/lisptypes.h

    r4475 r4938  
    6767typedef struct ucontext64 ExceptionInformation;
    6868#define UC_MCONTEXT(UC) UC->uc_mcontext64
     69#ifdef X8664
     70/* Broken <i386/ucontext.h> in xcode 2.4 */
     71#include <sys/ucontext.h>
     72struct mcontext64 {
     73        x86_exception_state64_t es;
     74        x86_thread_state64_t    ss;     
     75        x86_float_state64_t     fs;
     76};
     77#endif
    6978#else
    7079typedef struct ucontext ExceptionInformation;
Note: See TracChangeset for help on using the changeset viewer.