Changeset 5239


Ignore:
Timestamp:
Sep 21, 2006, 3:04:20 AM (18 years ago)
Author:
Gary Byers
Message:

Guess again about preprocessor stuff for x86-64 ucontext/mcontext on Darwin.

File:
1 edited

Legend:

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

    r5163 r5239  
    6666#if defined(DARWIN)
    6767#if WORD_SIZE == 64
     68#ifdef _STRUCT_UCONTEXT64
     69typdef _STRUCT_UCONTEXT64 ExceptionInformation;
     70#else
    6871typedef struct ucontext64 ExceptionInformation;
     72#endif
    6973#define UC_MCONTEXT(UC) UC->uc_mcontext64
    7074#ifdef X8664
    7175/* Broken <i386/ucontext.h> in xcode 2.4 */
    7276#include <sys/ucontext.h>
    73 #ifndef _MCONTEXT64_T /* A guess at what'll be defined when this is fixed */
     77#ifndef _STRUCT_MCONTEXT64 /* A guess at what'll be defined when this is fixed */
    7478struct mcontext64 {
    7579        x86_exception_state64_t es;
Note: See TracChangeset for help on using the changeset viewer.