Changeset 12303


Ignore:
Timestamp:
Jun 25, 2009, 6:39:33 PM (10 years ago)
Author:
gz
Message:

mac/windows-only kernel mods from trunk (r12199 r12261)

Location:
branches/working-0711/ccl/lisp-kernel
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/working-0711/ccl/lisp-kernel/plbt.c

    r12198 r12303  
    2222
    2323#ifdef DARWIN
    24 #ifndef PPC64
     24#if 0
    2525#undef undefined
    2626#include <stdint.h>
     
    154154      spname = (char *)(info.dli_sname);
    155155#ifdef DARWIN
    156 #ifdef PPC64
    157156      if (spname[-1] != '_') {
    158157        --spname;
    159158      }
    160 #endif
    161159#endif
    162160    }
  • branches/working-0711/ccl/lisp-kernel/pmcl-kernel.c

    r12301 r12303  
    9393Boolean running_under_rosetta = false;
    9494
    95 #if WORD_SIZE == 64 || defined(X8632)
    96 /* Assume that if the OS is new enough to support PPC64/X8664, it has
    97    a reasonable dlfcn.h
    98 */
    9995#include <dlfcn.h>
    100 #endif
    10196#endif
    10297
     
    20011996xGetSharedLibrary(char *path, int *resultType)
    20021997{
    2003 #if defined(PPC) && (WORD_SIZE == 32)
     1998#if 0
    20041999  NSObjectFileImageReturnCode code;
    20052000  NSObjectFileImage              moduleImage;
     
    22592254#endif
    22602255#ifdef DARWIN
    2261 #if defined(PPC64) || defined(X86)
     2256#if 1
    22622257  if ((handle == NULL) || (handle == ((void *) -1))) {
    22632258    handle = RTLD_DEFAULT;
  • branches/working-0711/ccl/lisp-kernel/windows-calls.c

    r12301 r12303  
    267267    return -1;                  /* errno already set */
    268268  }
    269   return _open_osfhandle((DWORD)h,0);
     269  return  _open_osfhandle((intptr_t)h,0);
    270270}
    271271
Note: See TracChangeset for help on using the changeset viewer.