]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
disabled use of WINAPI in ODE_API because ODE uses the default calling
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 20 Oct 2009 20:09:56 +0000 (20:09 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 20 Oct 2009 20:09:56 +0000 (20:09 +0000)
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

world.c

diff --git a/world.c b/world.c
index b51813439b4adc1a677d03ea7e78904877573702..f3cf9f95aef55f8a7f12be12544eb49bc84563a6 100644 (file)
--- 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