Remove #ifdefs TEMPDIRNAMES and add TEMPDIRNAMES for Windows

Vim does not define TEMPDIRNAMES for all systems, but it is defined for
all systems supported by Neovim.
Temporary directory names for Windows was obtained from GetTempPath()
function documentation at MSDN.
Additionally small renamings were performed.
This commit is contained in:
Pavel Platto
2014-06-19 00:58:04 +03:00
committed by Nicolas Hillegeer
parent ed10eb6fa9
commit edd7a8c5dd
8 changed files with 28 additions and 35 deletions

View File

@@ -536,10 +536,8 @@ EXTERN int ru_col; /* column for ruler */
EXTERN int ru_wid; /* 'rulerfmt' width of ruler when non-zero */
EXTERN int sc_col; /* column for shown command */
#ifdef TEMPDIRNAMES
EXTERN char_u *vim_tempdir INIT(= NULL); /* Name of Vim's own temp dir.
Ends in a slash. */
#endif
/*
* When starting or exiting some things are done differently (e.g. screen