[quake2] Windows builds

Brian Hook hook_l at pyrogon.com
Sun Mar 2 15:08:26 EST 2003

For those functions I'd recommend making Q_sinf(), etc. and then 
putting those in q_shared or somewhere similar and each platform can 
implement it as necessary.  The code in md4.c, for example, relies on 
inttypes.h which doesn't exist on MSVC 6, so those hardcoded type 
sizes should either be in-lined or possibly made a part of q_shared.h 
e.g. qu32_t, qi32_t, etc.

I'm willing to do that as well.

Just noticed that va() isn't buffer safe, which could lead to some 
exploits as well.  Putting in snprintf.c might not be such a bad 


On Sun, 2 Mar 2003 14:56:21 -0500 (EST), Vincent Cojot wrote:
>Careful with that.. :) Solaris/Sparc only has sinf/cosf if you buy
>the FORTE compilers.. if your compiler is gcc, then you can only use

More information about the quake2 mailing list