From 22a1a26cadc07b843bd21c575dcccb7bd8bf5189 Mon Sep 17 00:00:00 2001 From: Julian Orth Date: Sat, 15 Mar 2014 01:57:47 +0100 Subject: remove HAVE_MATH_H --- config/config.h.in | 1 - src/eval.c | 2 +- src/ex_cmds2.c | 4 +--- src/message.c | 2 +- 4 files changed, 3 insertions(+), 6 deletions(-) diff --git a/config/config.h.in b/config/config.h.in index 50e547b3e4..685bd5e392 100644 --- a/config/config.h.in +++ b/config/config.h.in @@ -42,7 +42,6 @@ #define HAVE_LIBINTL_H 1 #define HAVE_LOCALE_H 1 #define HAVE_LSTAT 1 -#define HAVE_MATH_H 1 #define HAVE_MKDTEMP 1 #define HAVE_NANOSLEEP 1 #define HAVE_NL_LANGINFO_CODESET 1 diff --git a/src/eval.c b/src/eval.c index ad780e3024..74474a4bde 100644 --- a/src/eval.c +++ b/src/eval.c @@ -64,7 +64,7 @@ #include "os/os.h" #include "os/shell.h" -#if defined(FEAT_FLOAT) && defined(HAVE_MATH_H) +#if defined(FEAT_FLOAT) # include #endif diff --git a/src/ex_cmds2.c b/src/ex_cmds2.c index d0e27d0248..5b7e32fcce 100644 --- a/src/ex_cmds2.c +++ b/src/ex_cmds2.c @@ -824,9 +824,7 @@ proftime_T *tm; } -# if defined(HAVE_MATH_H) -# include -# endif +#include /* * Divide the time "tm" by "count" and store in "tm2". diff --git a/src/message.c b/src/message.c index 82cdb07598..76547c97d7 100644 --- a/src/message.c +++ b/src/message.c @@ -35,7 +35,7 @@ #include "ui.h" #include "os/os.h" -#if defined(FEAT_FLOAT) && defined(HAVE_MATH_H) +#if defined(FEAT_FLOAT) # include #endif -- cgit