[ODE] auto-disable patch (yet again)

Colin Bonstead colin at cyan.com
Thu Apr 22 08:49:23 MST 2004


A couple more fixes, for Windows...

In common.h, you'll need to change dCopySign to this:

#ifdef WIN32
#define dCopySign(a,b) ((float)_copysign((a),(b)))
#else
#define dCopySign(a,b) ((float)copysignf((a),(b)))
#endif

And in the Windows version of dError and dDebug (in error.cpp), you'll 
want to put an underscore in front of snprintf and vsnprintf.

Apparently MS doesn't think those functions should be standard.

-----Original Message-----
From: Russ Smith <russ at q12.org>
Sent: Thu, 22 Apr 2004 07:13:14 -0700 (MST)
To: Aras Pranckevicius <nearaz at interamotion.com>
Subject: Re: [ODE] auto-disable patch (yet again)


> It seems that a call to dInternalHandleAutoDisabling is missing...

oops ... fixed.

russ.

--
Russ Smith
http://www.q12.org/





More information about the ODE mailing list