commit | 595297d6d5658266dd0574361f77f7832bb18e26 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat Mar 04 19:11:12 2017 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Mar 04 19:11:12 2017 +0100 |
tree | 52699c638f083ba46ebee8fe20fb01c4257410f7 | |
parent | eadbc2b46176e2aff2cde5f3874b734ae2ae082a [diff] [blame] |
patch 8.0.0409: set_progpath is defined but not always used Problem: set_progpath is defined but not always used Solution: Adjust #ifdef.
diff --git a/src/main.c b/src/main.c index 1da2b84..2575e82 100644 --- a/src/main.c +++ b/src/main.c
@@ -3528,7 +3528,7 @@ #endif -#ifndef NO_VIM_MAIN +#if !defined(NO_VIM_MAIN) && defined(FEAT_EVAL) static void set_progpath(char_u *argv0) {