diff options
-rw-r--r-- | src/nvim/ex_cmds_defs.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/nvim/ex_cmds_defs.h b/src/nvim/ex_cmds_defs.h index 85cd4cd2fe..ee1c857134 100644 --- a/src/nvim/ex_cmds_defs.h +++ b/src/nvim/ex_cmds_defs.h @@ -5,6 +5,15 @@ * Do ":help credits" in Vim to see a list of people who contributed. */ +#if (!defined(DO_DECLARE_EXCMD) && !defined(NVIM_EX_CMDS_DEFS_H)) \ + || (defined(DO_DECLARE_EXCMD) && \ + !defined(NVIM_EX_CMDS_DEFS_H_DO_DECLARE_EXCMD)) +#ifdef DO_DECLARE_EXCMD +# define NVIM_EX_CMDS_DEFS_H_DO_DECLARE_EXCMD +#else +# define NVIM_EX_CMDS_DEFS_H +#endif + #include "nvim/normal.h" /* @@ -1187,3 +1196,4 @@ typedef struct { } cmdmod_T; #endif +#endif |