diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-02-27 20:14:15 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-02-27 20:14:15 +0100 |
commit | 136f29a91dbafce424e31a4af133155f997e8f78 (patch) | |
tree | c8f62de847e195719732366ec05df2f21f74f000 /src/eval.c | |
parent | e98991b8cfaf29016d14b8ec437d3dedfc0a5eb7 (diff) | |
download | vim-git-136f29a91dbafce424e31a4af133155f997e8f78.tar.gz |
patch 7.4.1437v7.4.1437
Problem: Old system doesn't have isinf() and NAN. (Ben Fritz)
Solution: Adjust #ifdefs. Detect isnan() and isinf() functions with
configure. Use a replacement when missing. (Kazunobu Kuriyama)
Diffstat (limited to 'src/eval.c')
-rw-r--r-- | src/eval.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/eval.c b/src/eval.c index 323caf1e5..6e018c404 100644 --- a/src/eval.c +++ b/src/eval.c @@ -27,16 +27,6 @@ # include <time.h> /* for time_t */ #endif -#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 */ #define DO_NOT_FREE_CNT 99999 /* refcount for dict or list that should not |