mirror of
https://github.com/neovim/neovim.git
synced 2025-09-10 21:38:19 +00:00
Add include guard to ex_cmds_defs
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user