mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Specify that we're compiling for Windows 7 in CommonWindows.h
This commit is contained in:
parent
b0182ed0e6
commit
0aaacd35c9
2 changed files with 12 additions and 17 deletions
|
@ -1,5 +1,17 @@
|
|||
#pragma once
|
||||
|
||||
#if defined(_MSC_VER) && _MSC_VER < 1700
|
||||
#error You need a newer version of Visual Studio
|
||||
#else
|
||||
#undef _WIN32_WINNT
|
||||
#define _WIN32_WINNT 0x601 // Compile for Win7 on Visual Studio 2012 and above
|
||||
#undef WINVER
|
||||
#define WINVER 0x601
|
||||
#endif
|
||||
|
||||
#undef _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES
|
||||
#define _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES 1
|
||||
|
||||
#ifdef _WIN32
|
||||
#pragma warning(disable:4091)
|
||||
|
||||
|
|
|
@ -17,23 +17,6 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#undef _WIN32_WINNT
|
||||
|
||||
#if defined(_MSC_VER) && _MSC_VER < 1700
|
||||
#error You need a newer version of Visual Studio
|
||||
#else
|
||||
#define _WIN32_WINNT 0x601 // Compile for Win7 on Visual Studio 2012 and above
|
||||
#endif
|
||||
|
||||
#undef WINVER
|
||||
#define WINVER _WIN32_WINNT
|
||||
#ifndef _WIN32_IE
|
||||
#define _WIN32_IE 0x0600 // Default value is 0x0400
|
||||
#endif
|
||||
|
||||
#undef _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES
|
||||
#define _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES 1
|
||||
|
||||
#ifndef __clang__
|
||||
#if defined _M_IX86
|
||||
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"")
|
||||
|
|
Loading…
Add table
Reference in a new issue