aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoroni-link <knil.ino@gmail.com>2014-04-01 13:32:03 +0200
committerThiago de Arruda <tpadilha84@gmail.com>2014-04-02 18:52:16 -0300
commit87a317e0762a8b269c532d1fa96b63058bbfc446 (patch)
tree39f94addae98fed78aa3c8f6e067596cdd04257c /src
parent38ff389496f91d4b00ea822e44999186b0f62f61 (diff)
downloadrneovim-87a317e0762a8b269c532d1fa96b63058bbfc446.tar.gz
rneovim-87a317e0762a8b269c532d1fa96b63058bbfc446.tar.bz2
rneovim-87a317e0762a8b269c532d1fa96b63058bbfc446.zip
remove HAVE_STRTOL
strtol is a C99 standard function.
Diffstat (limited to 'src')
-rw-r--r--src/option.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/option.c b/src/option.c
index ed66b9f442..0cf3c0d01b 100644
--- a/src/option.c
+++ b/src/option.c
@@ -2970,13 +2970,9 @@ do_set (
i = 0;
if (*arg == '-')
i = 1;
-#ifdef HAVE_STRTOL
value = strtol((char *)arg, NULL, 0);
if (arg[i] == '0' && TOLOWER_ASC(arg[i + 1]) == 'x')
i += 2;
-#else
- value = atol((char *)arg);
-#endif
while (VIM_ISDIGIT(arg[i]))
++i;
if (arg[i] != NUL && !vim_iswhite(arg[i])) {