0
0
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:
Bram Moolenaar
2016-02-23 22:07:32 +01:00
parent f1b6ac7229
commit 3ea0f1ae31
3 changed files with 26 additions and 7 deletions

View File

@@ -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 */