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>
|
<ClCompile>
|
||||||
<PreprocessorDefinitions>
|
<PreprocessorDefinitions>
|
||||||
NOMINMAX;
|
NOMINMAX;
|
||||||
|
_WIN32_WINNT=0x0602;
|
||||||
%(PreprocessorDefinitions)
|
%(PreprocessorDefinitions)
|
||||||
</PreprocessorDefinitions>
|
</PreprocessorDefinitions>
|
||||||
<AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
_LARGEFILE_SOURCE;
|
_LARGEFILE_SOURCE;
|
||||||
_SYSCRT;
|
_SYSCRT;
|
||||||
_USE_MATH_DEFINES;
|
_USE_MATH_DEFINES;
|
||||||
_WIN32_WINNT=0x0502;
|
_WIN32_WINNT=0x0602;
|
||||||
inline=__inline;
|
inline=__inline;
|
||||||
%(PreprocessorDefinitions)
|
%(PreprocessorDefinitions)
|
||||||
</PreprocessorDefinitions>
|
</PreprocessorDefinitions>
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
</AdditionalIncludeDirectories>
|
</AdditionalIncludeDirectories>
|
||||||
<PreprocessorDefinitions>
|
<PreprocessorDefinitions>
|
||||||
NOMINMAX;
|
NOMINMAX;
|
||||||
_WIN32_WINNT=0x0501;
|
_WIN32_WINNT=0x0602;
|
||||||
_CRT_NONSTDC_NO_DEPRECATE;
|
_CRT_NONSTDC_NO_DEPRECATE;
|
||||||
WITH_UCHARDET;
|
WITH_UCHARDET;
|
||||||
%(PreprocessorDefinitions)
|
%(PreprocessorDefinitions)
|
||||||
|
|
|
@ -25,10 +25,10 @@
|
||||||
|
|
||||||
#include <boost/filesystem.hpp>
|
#include <boost/filesystem.hpp>
|
||||||
|
|
||||||
namespace {
|
|
||||||
#include <Shlobj.h>
|
#include <Shlobj.h>
|
||||||
#include <Shellapi.h>
|
#include <Shellapi.h>
|
||||||
|
|
||||||
|
namespace {
|
||||||
agi::fs::path WinGetFolderPath(int folder) {
|
agi::fs::path WinGetFolderPath(int folder) {
|
||||||
wchar_t path[MAX_PATH+1] = {0};
|
wchar_t path[MAX_PATH+1] = {0};
|
||||||
if (FAILED(SHGetFolderPathW(0, folder, 0, 0, path)))
|
if (FAILED(SHGetFolderPathW(0, folder, 0, 0, path)))
|
||||||
|
|
Loading…
Reference in New Issue