mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-26 06:22:33 -08:00
In windows there is no isfinite(), normally.
This commit is contained in:
parent
383a0a8bd8
commit
404b1640ca
1 changed files with 7 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue