summaryrefslogtreecommitdiffstats
path: root/src/proto/os_win32.pro
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-02-01 13:14:16 +0100
committerBram Moolenaar <Bram@vim.org>2017-02-01 13:14:16 +0100
commit7c23d1d9d9cc1d3d19fe35708da7c5d5b3556e05 (patch)
tree74069459d85bf99f5b5048ff9f00511d13b0e058 /src/proto/os_win32.pro
parent168dd00f72515750505458018767f2ae0bcdb54e (diff)
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/proto/os_win32.pro')
-rw-r--r--src/proto/os_win32.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto/os_win32.pro b/src/proto/os_win32.pro
index a64c863bbc..ca671464b9 100644
--- a/src/proto/os_win32.pro
+++ b/src/proto/os_win32.pro
@@ -65,4 +65,5 @@ void free_cmd_argsW(void);
void used_file_arg(char *name, int literal, int full_path, int diff_mode);
void set_alist_count(void);
void fix_arg_enc(void);
+int mch_setenv(char *var, char *value, int x);
/* vim: set ft=c : */