Changeset 10593


Ignore:
Timestamp:
Aug 31, 2008, 8:47:24 AM (11 years ago)
Author:
gb
Message:

MAXIMUM_MAPPABLE_MEMORY for win32 (could probably be larger than 1GB).
Use strerror if image load fails.
Use CALLBACK attribute on ControlEventHandler?.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/lisp-kernel/pmcl-kernel.c

    r10565 r10593  
    404404#endif
    405405#ifdef LINUX
     406#define MAXIMUM_MAPPABLE_MEMORY (1U<<30)
     407#endif
     408#ifdef WINDOWS
    406409#define MAXIMUM_MAPPABLE_MEMORY (1U<<30)
    407410#endif
     
    739742{
    740743#ifdef WINDOWS
    741   extern BOOL ControlEventHandler(DWORD);
     744  extern BOOL CALLBACK ControlEventHandler(DWORD);
    742745
    743746  signal(SIGINT, SIG_IGN);
     
    18821885  }
    18831886  if (image_nil == 0) {
    1884 #ifdef WINDOWS
    1885     wperror("Couldn't load lisp heap image");
    1886 #else
    18871887    fprintf(stderr, "Couldn't load lisp heap image from %s:\n%s\n", path, strerror(errno));
    1888 #endif
    18891888    exit(-1);
    18901889  }
Note: See TracChangeset for help on using the changeset viewer.