From 7c0f6d2380c11a5a2c1fee74f846a32e29ec1ba0 Mon Sep 17 00:00:00 2001 From: Rui Abreu Ferreira Date: Tue, 12 May 2015 16:08:38 +0100 Subject: 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. --- src/nvim/os/unix_defs.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/nvim/os/unix_defs.h') 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 -- cgit