diff options
author | Bram Moolenaar <Bram@vim.org> | 2009-11-18 19:11:58 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2009-11-18 19:11:58 +0000 |
commit | 4592dee5765e9d1ef542d9252b7e9a3640800cba (patch) | |
tree | 77aeb92627482e7bc84d681e80b55ddeeb1e2376 /src/fileio.c | |
parent | f11021be132552c6b4f95417b4ae2da59d6f40df (diff) | |
download | vim-4592dee5765e9d1ef542d9252b7e9a3640800cba.zip |
updated for version 7.2-303
Diffstat (limited to 'src/fileio.c')
-rw-r--r-- | src/fileio.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/fileio.c b/src/fileio.c index b0b341a2e..805ff8734 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -146,7 +146,9 @@ static int get_mac_fio_flags __ARGS((char_u *ptr)); # endif #endif static int move_lines __ARGS((buf_T *frombuf, buf_T *tobuf)); +#ifdef TEMPDIRNAMES static void vim_settempdir __ARGS((char_u *tempdir)); +#endif #ifdef FEAT_AUTOCMD static char *e_auchangedbuf = N_("E812: Autocommands changed buffer or buffer name"); #endif @@ -6995,6 +6997,7 @@ vim_deltempdir() } #endif +#ifdef TEMPDIRNAMES /* * Directory "tempdir" was created. Expand this name to a full path and put * it in "vim_tempdir". This avoids that using ":cd" would confuse us. @@ -7021,6 +7024,7 @@ vim_settempdir(tempdir) vim_free(buf); } } +#endif /* * vim_tempname(): Return a unique name that can be used for a temp file. |