From ecb4d01287ce876206ca0a90b08398fe5d85e618 Mon Sep 17 00:00:00 2001
From: havoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Date: Tue, 20 Oct 2009 20:09:56 +0000
Subject: [PATCH] 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
---
 world.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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
-- 
2.39.5