diff src/macros.h @ 961:c06c658691e2 v7.0.087

updated for version 7.0-087
author vimboss
date Tue, 05 Sep 2006 14:31:54 +0000
parents e402b0af6083
children 3acf7c922a04
line wrap: on
line diff
--- a/src/macros.h
+++ b/src/macros.h
@@ -276,3 +276,9 @@
 # define MB_CHARLEN(p)		STRLEN(p)
 # define PTR2CHAR(p)		((int)*(p))
 #endif
+
+#ifdef FEAT_AUTOCHDIR
+# define DO_AUTOCHDIR if (p_acd) do_autochdir();
+#else
+# define DO_AUTOCHDIR
+#endif