aboutsummaryrefslogtreecommitdiff
path: root/src/macros.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/macros.h')
-rw-r--r--src/macros.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/macros.h b/src/macros.h
index 8dd412f838..5f7147be23 100644
--- a/src/macros.h
+++ b/src/macros.h
@@ -1,3 +1,6 @@
+#ifndef NEOVIM_MACROS_H
+#define NEOVIM_MACROS_H
+
/*
* VIM - Vi IMproved by Bram Moolenaar
*
@@ -159,3 +162,5 @@
# define PTR2CHAR(p) (has_mbyte ? mb_ptr2char(p) : (int)*(p))
# define RESET_BINDING(wp) (wp)->w_p_scb = FALSE; (wp)->w_p_crb = FALSE
+
+#endif // NEOVIM_MACROS_H