aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os_unix_defs.h
diff options
context:
space:
mode:
authorPavel Platto <hinidu@gmail.com>2014-06-19 00:58:04 +0300
committerNicolas Hillegeer <nicolas@hillegeer.com>2014-07-14 21:14:39 +0200
commitedd7a8c5ddd99bd0c02b4218d43bccb562809d55 (patch)
tree764a6762ee492e3589c209fd1d34559addcc70ab /src/nvim/os_unix_defs.h
parented10eb6fa92989d5a3841bf225a38b524c910e2e (diff)
downloadrneovim-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/os_unix_defs.h')
-rw-r--r--src/nvim/os_unix_defs.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/nvim/os_unix_defs.h b/src/nvim/os_unix_defs.h
index 5ba9d2d98d..0d79117bfd 100644
--- a/src/nvim/os_unix_defs.h
+++ b/src/nvim/os_unix_defs.h
@@ -204,9 +204,6 @@
"~/.nvim,$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after,~/.nvim/after"
# endif
-# define TEMPDIRNAMES "$TMPDIR", "/tmp", ".", "$HOME"
-# define TEMPNAMELEN 256
-
/* Special wildcards that need to be handled by the shell */
#define SPECIAL_WILDCHAR "`'{"