diff options
author | Pavel Platto <hinidu@gmail.com> | 2014-06-19 00:58:04 +0300 |
---|---|---|
committer | Nicolas Hillegeer <nicolas@hillegeer.com> | 2014-07-14 21:14:39 +0200 |
commit | edd7a8c5ddd99bd0c02b4218d43bccb562809d55 (patch) | |
tree | 764a6762ee492e3589c209fd1d34559addcc70ab /src/nvim/globals.h | |
parent | ed10eb6fa92989d5a3841bf225a38b524c910e2e (diff) | |
download | rneovim-edd7a8c5ddd99bd0c02b4218d43bccb562809d55.tar.gz rneovim-edd7a8c5ddd99bd0c02b4218d43bccb562809d55.tar.bz2 rneovim-edd7a8c5ddd99bd0c02b4218d43bccb562809d55.zip |
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.
Diffstat (limited to 'src/nvim/globals.h')
-rw-r--r-- | src/nvim/globals.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/nvim/globals.h b/src/nvim/globals.h index 871674907b..436ddb768d 100644 --- a/src/nvim/globals.h +++ b/src/nvim/globals.h @@ -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 |