summaryrefslogtreecommitdiff
path: root/src/if_mzsch.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/if_mzsch.c')
-rw-r--r--src/if_mzsch.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/if_mzsch.c b/src/if_mzsch.c
index 6a34ad34a..487485135 100644
--- a/src/if_mzsch.c
+++ b/src/if_mzsch.c
@@ -24,6 +24,10 @@
#include "vim.h"
#include "if_mzsch.h"
+/* Only do the following when the feature is enabled. Needed for "make
+ * depend". */
+#if defined(FEAT_MZSCHEME) || defined(PROTO)
+
/* Base data structures */
#define SCHEME_VIMBUFFERP(obj) SAME_TYPE(SCHEME_TYPE(obj), mz_buffer_type)
#define SCHEME_VIMWINDOWP(obj) SAME_TYPE(SCHEME_TYPE(obj), mz_window_type)
@@ -2709,3 +2713,5 @@ sandbox_network_guard(int argc, Scheme_Object **argv)
return scheme_void;
}
#endif
+
+#endif