summaryrefslogtreecommitdiff
path: root/src/port/win32env.c
diff options
context:
space:
mode:
authorAndrew Dunstan2016-04-29 11:59:47 +0000
committerAndrew Dunstan2016-04-29 12:09:07 +0000
commit0fb54de9aa4ffb792ea63af853146021ae501f12 (patch)
tree143d27120773629c601894184c065b1eef12ba9b /src/port/win32env.c
parent59455018a8120bb3c02680b0f9764492c5283d99 (diff)
Support building with Visual Studio 2015
Adjust the way we detect the locale. As a result the minumum Windows version supported by VS2015 and later is Windows Vista. Add some tweaks to remove new compiler warnings. Remove documentation references to the now obsolete msysGit. Michael Paquier, somewhat edited by me, reviewed by Christian Ullrich. Backpatch to 9.5
Diffstat (limited to 'src/port/win32env.c')
-rw-r--r--src/port/win32env.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/port/win32env.c b/src/port/win32env.c
index 7e4ff624820..d6b0ebe7e57 100644
--- a/src/port/win32env.c
+++ b/src/port/win32env.c
@@ -70,6 +70,9 @@ pgwin32_putenv(const char *envval)
"msvcr120", 0, NULL
}, /* Visual Studio 2013 */
{
+ "urctbase", 0, NULL
+ }, /* Visual Studio 2015 and later */
+ {
NULL, 0, NULL
}
};