Mercurial > vim
comparison src/eval.c @ 8230:51ca0cee512e v7.4.1408
commit https://github.com/vim/vim/commit/3ea0f1ae318db6cd9413914bb2ff824d71cefc6e
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Feb 23 22:07:32 2016 +0100
patch 7.4.1408
Problem: MS-Windows doesn't have isnan() and isinf().
Solution: Use _isnan() and _isinf().
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 23 Feb 2016 22:15:05 +0100 |
parents | a0e552c51c34 |
children | 60586ce747c4 |
comparison
equal
deleted
inserted
replaced
8229:8ac9d0ab3ef8 | 8230:51ca0cee512e |
---|---|
25 | 25 |
26 #ifdef MACOS | 26 #ifdef MACOS |
27 # include <time.h> /* for time_t */ | 27 # include <time.h> /* for time_t */ |
28 #endif | 28 #endif |
29 | 29 |
30 #if defined(FEAT_FLOAT) && defined(HAVE_MATH_H) | 30 #if defined(FEAT_FLOAT) |
31 # include <math.h> | 31 # include <float.h> |
32 # if defined(HAVE_MATH_H) | |
33 # include <math.h> | |
34 # endif | |
35 # if defined(WIN32) && !defined(isnan) | |
36 # define isnan(x) _isnan(x) | |
37 # endif | |
32 #endif | 38 #endif |
33 | 39 |
34 #define DICT_MAXNEST 100 /* maximum nesting of lists and dicts */ | 40 #define DICT_MAXNEST 100 /* maximum nesting of lists and dicts */ |
35 | 41 |
36 #define DO_NOT_FREE_CNT 99999 /* refcount for dict or list that should not | 42 #define DO_NOT_FREE_CNT 99999 /* refcount for dict or list that should not |