diff options
Diffstat (limited to 'src/macros.h')
| -rw-r--r-- | src/macros.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/macros.h b/src/macros.h index c4c9a14da..a8bc2b852 100644 --- 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 |
