[quake3] [PATCH] better NX support

James Lacey jamlacey at gmail.com
Mon Feb 27 10:58:02 EST 2006


That sounds good for now. I haven't had much free time lately, but when I
get a chance, I will try to code a patch to memory map the file with the
Win32 API.

James

-----Original Message-----
From: Ludwig Nussel [mailto:ludwig.nussel at suse.de] 
Sent: Monday, February 27, 2006 8:51 AM
To: quake3 at icculus.org
Subject: Re: [quake3] [PATCH] better NX support

On Monday 27 February 2006 16:42, James Lacey wrote:
> It will break the Windows build as mmap() is not in the CRT. Unless
someone
> has an mmap() wrapper for the Win32 API (which is probably out there
> somewhere), equivalent code would have to be written using the Win32
memory
> mapped file functions.

As I suspected, thanks. Easiest way is to just use malloc via #ifdef
_MSC_VER
on Windows then I guess.

cu
Ludwig

-- 
 (o_   Ludwig Nussel
 //\   SUSE LINUX Products GmbH, Development
 V_/_  http://www.suse.de/





More information about the quake3 mailing list