In windows there is no isfinite(), normally.

This commit is contained in:
Juan Jose Garcia Ripoll 2008-08-02 16:27:20 +02:00
parent 383a0a8bd8
commit 404b1640ca

View file

@ -394,3 +394,10 @@ typedef unsigned @CL_FIXNUM_TYPE@ cl_hashkey;
# define PTHREAD_MUTEX_ADAPTIVE_NP PTHREAD_MUTEX_NORMAL
# endif
#endif
#if defined(mingw32) || defined(_MSC_VER) || defined(cygwin)
# include <math.h>
# ifndef isfinite
# define isfinite(x) (finite(x))
# endif
#endif