aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/eval.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2014-05-28 13:09:50 -0400
committerJustin M. Keyes <justinkz@gmail.com>2014-05-28 13:09:59 -0400
commit3972f6cde741a03eb04a413f61983f2d768127c2 (patch)
tree42bedb0a0915fd82e809c6c23b812518ebd872ac /src/nvim/eval.c
parent3dddceedceebb73b93d399f2c56b0f1b5394c645 (diff)
parent6fc28397950f367f4b9e5b56b9d135dde2410e76 (diff)
downloadrneovim-3972f6cde741a03eb04a413f61983f2d768127c2.tar.gz
rneovim-3972f6cde741a03eb04a413f61983f2d768127c2.tar.bz2
rneovim-3972f6cde741a03eb04a413f61983f2d768127c2.zip
Merge #500 'Remove/simplify #ifdefs on default features'
Diffstat (limited to 'src/nvim/eval.c')
-rw-r--r--src/nvim/eval.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/nvim/eval.c b/src/nvim/eval.c
index 95fb6ed732..db57f73a1f 100644
--- a/src/nvim/eval.c
+++ b/src/nvim/eval.c
@@ -12,6 +12,7 @@
#include <string.h>
#include <stdlib.h>
+#include <math.h>
#include "nvim/vim.h"
#include "nvim/eval.h"
#include "nvim/buffer.h"
@@ -69,10 +70,6 @@
#include "nvim/os/time.h"
#include "nvim/os/channel.h"
-#if defined(FEAT_FLOAT)
-# include <math.h>
-#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
@@ -1554,9 +1551,6 @@ call_func_retnr (
return retval;
}
-#if (defined(FEAT_USR_CMDS) && defined(FEAT_CMDL_COMPL)) \
- || defined(FEAT_COMPL_FUNC) || defined(PROTO)
-
/*
* Call vimL function "func" and return the result as a string.
* Returns NULL when calling the function fails.
@@ -1608,7 +1602,6 @@ call_func_retlist (
return rettv.vval.v_list;
}
-#endif
/*
* Save the current function call pointer, and set it to NULL.