comparison src/main.c @ 11309:b254fd46ef62 v8.0.0540

patch 8.0.0540: building unit tests fails commit https://github.com/vim/vim/commit/a604429529ce3d3c97309c7cf6bba8b699f6bfb5 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Apr 2 18:19:53 2017 +0200 patch 8.0.0540: building unit tests fails Problem: Building unit tests fails. Solution: Move params outside of #ifdef.
author Christian Brabandt <cb@256bit.org>
date Sun, 02 Apr 2017 18:30:05 +0200
parents 6e1c19d3de03
children 0ef92445b4f6
comparison
equal deleted inserted replaced
11308:b6b88d1c0c24 11309:b254fd46ef62
87 N_("Invalid argument for"), 87 N_("Invalid argument for"),
88 #define ME_INVALID_ARG 5 88 #define ME_INVALID_ARG 5
89 }; 89 };
90 90
91 #ifndef PROTO /* don't want a prototype for main() */ 91 #ifndef PROTO /* don't want a prototype for main() */
92 #ifndef NO_VIM_MAIN /* skip this for unittests */
93
94 static char_u *start_dir = NULL; /* current working dir on startup */
95
96 static int has_dash_c_arg = FALSE;
97 92
98 /* Various parameters passed between main() and other functions. */ 93 /* Various parameters passed between main() and other functions. */
99 static mparm_T params; 94 static mparm_T params;
95
96 #ifndef NO_VIM_MAIN /* skip this for unittests */
97
98 static char_u *start_dir = NULL; /* current working dir on startup */
99
100 static int has_dash_c_arg = FALSE;
100 101
101 int 102 int
102 # ifdef VIMDLL 103 # ifdef VIMDLL
103 _export 104 _export
104 # endif 105 # endif