mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
patch 7.4.1408
Problem: MS-Windows doesn't have isnan() and isinf(). Solution: Use _isnan() and _isinf().
This commit is contained in:
10
src/eval.c
10
src/eval.c
@@ -27,8 +27,14 @@
|
||||
# include <time.h> /* for time_t */
|
||||
#endif
|
||||
|
||||
#if defined(FEAT_FLOAT) && defined(HAVE_MATH_H)
|
||||
# include <math.h>
|
||||
#if defined(FEAT_FLOAT)
|
||||
# include <float.h>
|
||||
# if defined(HAVE_MATH_H)
|
||||
# include <math.h>
|
||||
# endif
|
||||
# if defined(WIN32) && !defined(isnan)
|
||||
# define isnan(x) _isnan(x)
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#define DICT_MAXNEST 100 /* maximum nesting of lists and dicts */
|
||||
|
Reference in New Issue
Block a user