summaryrefslogtreecommitdiff
path: root/src/if_mzsch.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-03-24 22:46:53 +0000
committerBram Moolenaar <Bram@vim.org>2006-03-24 22:46:53 +0000
commit76b92b2830841fd4e05006cc3cad1d8f0bc8101b (patch)
tree16537209b06903af71cfe22119a491ba82039da2 /src/if_mzsch.c
parentc01140a1a069caf3ced83eac7d4866048c4b723e (diff)
downloadvim-git-76b92b2830841fd4e05006cc3cad1d8f0bc8101b.tar.gz
updated for version 7.0bv7.0b
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