mirror of
https://github.com/vim/vim.git
synced 2025-09-27 04:14:06 -04:00
patch 9.0.0494: small build misses float function declaraitons
Problem: Small build misses float function declaraitons. Solution: Adjust #ifdefs.
This commit is contained in:
11
src/macros.h
11
src/macros.h
@@ -261,12 +261,13 @@
|
||||
# define MESSAGE_QUEUE
|
||||
#endif
|
||||
|
||||
#include <float.h>
|
||||
#if defined(HAVE_MATH_H)
|
||||
// for isnan() and isinf()
|
||||
# include <math.h>
|
||||
#endif
|
||||
|
||||
#if defined(FEAT_EVAL)
|
||||
# include <float.h>
|
||||
# if defined(HAVE_MATH_H)
|
||||
// for isnan() and isinf()
|
||||
# include <math.h>
|
||||
# endif
|
||||
# ifdef USING_FLOAT_STUFF
|
||||
# ifdef MSWIN
|
||||
# ifndef isnan
|
||||
|
Reference in New Issue
Block a user