Support building with Visual Studio 2015
Andrew Dunstan <andrew@dunslane.net>
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
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/install-windows.sgml | modified | +16 −13 |
| src/backend/port/win32/crashdump.c | modified | +14 −0 |
| src/bin/pg_basebackup/pg_basebackup.c | modified | +7 −2 |
| src/include/port/win32.h | modified | +18 −4 |
| src/port/chklocale.c | modified | +48 −13 |
| src/port/win32env.c | modified | +3 −0 |
| src/tools/msvc/MSBuildProject.pm | modified | +23 −0 |
| src/tools/msvc/Solution.pm | modified | +26 −0 |
| src/tools/msvc/VSObjectFactory.pm | modified | +10 −2 |