mirror of https://github.com/odrling/Aegisub
Bump _WIN32_WINNT to Vista
This commit is contained in:
parent
6496414e61
commit
f99711aca8
|
@ -126,6 +126,7 @@
|
|||
<ClCompile>
|
||||
<PreprocessorDefinitions>
|
||||
NOMINMAX;
|
||||
_WIN32_WINNT=0x0602;
|
||||
%(PreprocessorDefinitions)
|
||||
</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
_LARGEFILE_SOURCE;
|
||||
_SYSCRT;
|
||||
_USE_MATH_DEFINES;
|
||||
_WIN32_WINNT=0x0502;
|
||||
_WIN32_WINNT=0x0602;
|
||||
inline=__inline;
|
||||
%(PreprocessorDefinitions)
|
||||
</PreprocessorDefinitions>
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>
|
||||
NOMINMAX;
|
||||
_WIN32_WINNT=0x0501;
|
||||
_WIN32_WINNT=0x0602;
|
||||
_CRT_NONSTDC_NO_DEPRECATE;
|
||||
WITH_UCHARDET;
|
||||
%(PreprocessorDefinitions)
|
||||
|
|
|
@ -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)))
|
||||
|
|
Loading…
Reference in New Issue