From: havoc Date: Tue, 20 Oct 2009 20:09:56 +0000 (+0000) Subject: disabled use of WINAPI in ODE_API because ODE uses the default calling X-Git-Tag: xonotic-v0.1.0preview~1268 X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=commitdiff_plain;h=ecb4d01287ce876206ca0a90b08398fe5d85e618 disabled use of WINAPI in ODE_API because ODE uses the default calling convention on windows, and will have a runtime error if using WINAPI git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9370 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/world.c b/world.c index b5181343..f3cf9f95 100644 --- a/world.c +++ b/world.c @@ -342,7 +342,8 @@ cvar_t physics_ode_spinlimit = {0, "physics_ode_spinlimit", "10000", "reset spin #include "ode/ode.h" #else #ifdef WINAPI -#define ODE_API WINAPI +// ODE does not use WINAPI +#define ODE_API #else #define ODE_API #endif