aboutsummaryrefslogtreecommitdiff
path: root/src/port/win32env.c
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2016-04-29 07:59:47 -0400
committerAndrew Dunstan <andrew@dunslane.net>2016-04-29 08:06:25 -0400
commitda52474f3d3cbdf38d8a6677a4ebedaf402ade3a (patch)
tree5a9e9cf03b1d963e885a0f8c99f006055a2e1e93 /src/port/win32env.c
parent2e1b4adf39178416740efba975757e413a9fb3f9 (diff)
downloadpostgresql-da52474f3d3cbdf38d8a6677a4ebedaf402ade3a.tar.gz
postgresql-da52474f3d3cbdf38d8a6677a4ebedaf402ade3a.zip
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 bf1203f862c..dfe4c912030 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
}
};