--- Brent Dax <[EMAIL PROTECTED]> wrote:
> 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?

I'd recommend HAS_HEADER_SYSMMAN (and if anyone saw it, I
posted a patch yesterday that started making header
includes actually be dependent on the configure macros).

-- BKS

__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com

Reply via email to