diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-02-01 13:14:16 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-02-01 13:14:16 +0100 |
commit | 7c23d1d9d9cc1d3d19fe35708da7c5d5b3556e05 (patch) | |
tree | 74069459d85bf99f5b5048ff9f00511d13b0e058 /src/vim.h | |
parent | 168dd00f72515750505458018767f2ae0bcdb54e (diff) | |
download | vim-git-7c23d1d9d9cc1d3d19fe35708da7c5d5b3556e05.tar.gz |
patch 8.0.0280: problem setting multi-byte environment var on MS-Windowsv8.0.0280
Problem: On MS-Windows setting an environment variable with multi-byte
strings does not work well.
Solution: Use wputenv when possible. (Taro Muraoka, Ken Takata)
Diffstat (limited to 'src/vim.h')
-rw-r--r-- | src/vim.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -594,6 +594,7 @@ extern int (*dyn_libintl_putenv)(const char *envstring); # endif # define textdomain(domain) (*dyn_libintl_textdomain)(domain) # define libintl_putenv(envstring) (*dyn_libintl_putenv)(envstring) +# define libintl_wputenv(envstring) (*dyn_libintl_wputenv)(envstring) # else # include <libintl.h> # define _(x) gettext((char *)(x)) |