Two compile fixes for msvc and cmake provided by broken

This commit is contained in:
Daniel Genrich 2008-09-04 10:29:41 +00:00
parent 11ec880483
commit 7afc0ca600
2 changed files with 2 additions and 1 deletions

@ -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)

@ -21,6 +21,7 @@
#ifdef WIN32
#ifndef FREE_WINDOWS
#include "float.h"
#define isnan(n) _isnan(n)
#define finite _finite
#endif