Gibbs Tanton - tgibbs: # ## +#if defined(WIN32) # ## + program_code = malloc( file_stat.st_size ); # ## +#else # # Also, since more than win32 is not going to have mmap, # perhaps you could add # a Configure #define for HAS_MMAP or something like that. # Then you could # test the cc compiler to check for mmap availability.
Configure sets up a bunch of HAS_HEADER_FOO macros in parrot/config.h, including HAS_HEADER_MEMORY (undef on my Win32 system). Would this be the correct file? --Brent Dax [EMAIL PROTECTED] They *will* pay for what they've done.