Bump _WIN32_WINNT to Vista

This commit is contained in:
Thomas Goyne 2018-11-22 12:23:58 -08:00
parent ebc76c8a11
commit 2cb92a5f74
4 changed files with 4 additions and 3 deletions

View file

@ -126,6 +126,7 @@
<ClCompile>
<PreprocessorDefinitions>
NOMINMAX;
_WIN32_WINNT=0x0602;
%(PreprocessorDefinitions)
</PreprocessorDefinitions>
<AdditionalIncludeDirectories>

View file

@ -33,7 +33,7 @@
_LARGEFILE_SOURCE;
_SYSCRT;
_USE_MATH_DEFINES;
_WIN32_WINNT=0x0502;
_WIN32_WINNT=0x0602;
inline=__inline;
%(PreprocessorDefinitions)
</PreprocessorDefinitions>

View file

@ -23,7 +23,7 @@
</AdditionalIncludeDirectories>
<PreprocessorDefinitions>
NOMINMAX;
_WIN32_WINNT=0x0501;
_WIN32_WINNT=0x0602;
_CRT_NONSTDC_NO_DEPRECATE;
WITH_UCHARDET;
%(PreprocessorDefinitions)

View file

@ -25,10 +25,10 @@
#include <boost/filesystem.hpp>
namespace {
#include <Shlobj.h>
#include <Shellapi.h>
namespace {
agi::fs::path WinGetFolderPath(int folder) {
wchar_t path[MAX_PATH+1] = {0};
if (FAILED(SHGetFolderPathW(0, folder, 0, 0, path)))