aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os/unix_defs.h
diff options
context:
space:
mode:
authorRui Abreu Ferreira <raf-ep@gmx.com>2015-05-12 16:08:38 +0100
committerSeth Jackson <sethjackson@gmail.com>2016-01-11 16:36:13 -0500
commit7c0f6d2380c11a5a2c1fee74f846a32e29ec1ba0 (patch)
tree07588f075bed7163e96e811147ce4a229acd114f /src/nvim/os/unix_defs.h
parent3b94756feb39ad269104b2f765c6c56ff2360203 (diff)
downloadrneovim-7c0f6d2380c11a5a2c1fee74f846a32e29ec1ba0.tar.gz
rneovim-7c0f6d2380c11a5a2c1fee74f846a32e29ec1ba0.tar.bz2
rneovim-7c0f6d2380c11a5a2c1fee74f846a32e29ec1ba0.zip
Windows: use ';' as env $PATH separator.
In Windows the separator character in the PATH environment is ';' instead of ':'. Add a new define ENV_SEPCHAR to be used instead of hardcoding the character literal.
Diffstat (limited to 'src/nvim/os/unix_defs.h')
-rw-r--r--src/nvim/os/unix_defs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nvim/os/unix_defs.h b/src/nvim/os/unix_defs.h
index e3ba3262f4..4af468f8d9 100644
--- a/src/nvim/os/unix_defs.h
+++ b/src/nvim/os/unix_defs.h
@@ -17,4 +17,7 @@
// Special wildcards that need to be handled by the shell.
#define SPECIAL_WILDCHAR "`'{"
+// Separator character for environment variables.
+#define ENV_SEPCHAR ':'
+
#endif // NVIM_OS_UNIX_DEFS_H