## +#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.
- [PATCH] testsuite and Win32 compilation Mattia Barbon
- RE: [PATCH] testsuite and Win32 compilation Brent Dax
- RE: [PATCH] testsuite and Win32 compilation Gibbs Tanton - tgibbs
- RE: [PATCH] testsuite and Win32 compilation Gibbs Tanton - tgibbs
- RE: [PATCH] testsuite and Win32 compilation Gibbs Tanton - tgibbs
- RE: [PATCH] testsuite and Win32 compilation Brent Dax
- RE: [PATCH] testsuite and Win32 compilation Benjamin Stuhl
- RE: [PATCH] testsuite and Win32 compilation Mattia Barbon
- RE: [PATCH] testsuite and Win32 compilation Brent Dax