# HG changeset patch
# User Kazunobu Kuriyama <kazunobu.kuriyama@nifty.com>
# Date 1375634355 -32400
#      Mon Aug 05 01:39:15 2013 +0900
# Node ID ee534695a186d58eb59a7afec705d5be53d9651c
# Parent  42bf9264e64efa2d7ea02fc4ff03d4a7aa05fde8
Added compile switches so that fileio.c can compile for the case where the variable p_acd is not exported.

diff -r 42bf9264e64e -r ee534695a186 src/fileio.c
--- a/src/fileio.c	Sat Aug 03 18:35:36 2013 +0200
+++ b/src/fileio.c	Mon Aug 05 01:39:15 2013 +0900
@@ -8928,13 +8928,17 @@
 	p_ea = FALSE;
 
 	/* Prevent chdir() call in win_enter_ext(), through do_autochdir(). */
+#ifdef FEAT_AUTOCHDIR
 	save_acd = p_acd;
 	p_acd = FALSE;
+#endif
 
 	(void)win_split_ins(0, WSP_TOP, aucmd_win, 0);
 	(void)win_comp_pos();   /* recompute window positions */
 	p_ea = save_ea;
+#ifdef FEAT_AUTOCHDIR
 	p_acd = save_acd;
+#endif
 	unblock_autocmds();
 #endif
 	curwin = aucmd_win;
