mirror of
https://github.com/neovim/neovim.git
synced 2025-10-17 07:16:09 +00:00
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:

committed by
Nicolas Hillegeer

parent
ed10eb6fa9
commit
edd7a8c5dd
@@ -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
|
||||
|
Reference in New Issue
Block a user