]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
enable ODE dll support by default on windows
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 22 Oct 2010 18:05:57 +0000 (18:05 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 22 Oct 2010 18:05:57 +0000 (18:05 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10557 d7cf8633-e32d-0410-b094-e92efae38249

world.c

diff --git a/world.c b/world.c
index f705982ea63237f82e0bf9148dc5193977520601..d6b0cedb8d99a7b293da64395574e5cb96121455 100644 (file)
--- a/world.c
+++ b/world.c
@@ -314,9 +314,11 @@ void World_LinkEdict(world_t *world, prvm_edict_t *ent, const vec3_t mins, const
 // physics engine support
 //============================================================================
 
-//#ifndef ODE_STATIC
-//#define ODE_DYNAMIC 1
-//#endif
+#ifndef ODE_STATIC
+# ifdef WIN32
+#  define ODE_DYNAMIC 1
+# endif
+#endif
 
 #if defined(ODE_STATIC) || defined(ODE_DYNAMIC)
 #define USEODE 1