diff options
author | Julian Orth <ju.orth@gmail.com> | 2014-03-15 01:57:47 +0100 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-03-31 21:24:59 -0300 |
commit | 22a1a26cadc07b843bd21c575dcccb7bd8bf5189 (patch) | |
tree | b9540c3decf9f9125ccfa2e62e177931655b2203 /src | |
parent | b1ea283c597632d2ddf5b6b7c802d3d5a1aab99f (diff) | |
download | rneovim-22a1a26cadc07b843bd21c575dcccb7bd8bf5189.tar.gz rneovim-22a1a26cadc07b843bd21c575dcccb7bd8bf5189.tar.bz2 rneovim-22a1a26cadc07b843bd21c575dcccb7bd8bf5189.zip |
remove HAVE_MATH_H
Diffstat (limited to 'src')
-rw-r--r-- | src/eval.c | 2 | ||||
-rw-r--r-- | src/ex_cmds2.c | 4 | ||||
-rw-r--r-- | src/message.c | 2 |
3 files changed, 3 insertions, 5 deletions
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 <math.h> #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 <math.h> -# endif +#include <math.h> /* * 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 <math.h> #endif |