Two compile fixes for msvc and cmake provided by broken
authorDaniel Genrich <daniel.genrich@gmx.net>
Thu, 4 Sep 2008 10:29:41 +0000 (10:29 +0000)
committerDaniel Genrich <daniel.genrich@gmx.net>
Thu, 4 Sep 2008 10:29:41 +0000 (10:29 +0000)
intern/elbeem/CMakeLists.txt
intern/elbeem/intern/mvmcoords.h

index 45e9b95e5ff9a8444347ebe8634f839e39ede73a..d73d0c3e06dabc117d1671d83f794e7c9cc79ebc 100644 (file)
@@ -24,7 +24,7 @@
 #
 # ***** END GPL LICENSE BLOCK *****
 
-SET(INC ${PNG_INC} ${ZLIB_INC} ${SDL_INC})
+SET(INC ${PNG_INC} ${ZLIB_INC} ${SDL_INC} extern)
 
 FILE(GLOB SRC intern/*.cpp)
 
index 6c24482501f6b2ee62f71c6ec3d06d42644701f9..51b0958ed78301a163a433b2fa1f079cc6b0ab65 100644 (file)
@@ -21,6 +21,7 @@
 
 #ifdef WIN32
 #ifndef FREE_WINDOWS
+#include "float.h"
 #define isnan(n) _isnan(n)
 #define finite _finite
 #endif