Bump _WIN32_WINNT to Vista

This commit is contained in:
Thomas Goyne 2018-11-22 12:23:58 -08:00 committed by Ryan Lucia
parent 6496414e61
commit f99711aca8
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

@ -32,7 +32,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)))