mirror of
https://github.com/libretro/ppsspp.git
synced 2024-11-23 16:19:44 +00:00
set _WIN32_WINNT to 0x0601 in stdafx.h
This commit is contained in:
parent
3fbb340450
commit
f94e9b1e74
@ -432,7 +432,6 @@ if(WIN32)
|
||||
set(CMAKE_RC_COMPILE_OBJECT "<CMAKE_RC_COMPILER> -O coff <INCLUDES> <SOURCE> <OBJECT>")
|
||||
# required when using the dx9sdk include paths
|
||||
add_definitions(-include ${CMAKE_CURRENT_SOURCE_DIR}/Windows/mingw_defines.h)
|
||||
add_definitions(-D_WIN32_WINNT=0x0601)
|
||||
else()
|
||||
target_link_libraries(Common dxguid)
|
||||
endif()
|
||||
|
@ -23,13 +23,13 @@
|
||||
#if defined(_MSC_VER) && _MSC_VER < 1700
|
||||
#error You need a newer version of Visual Studio.
|
||||
#else
|
||||
#define _WIN32_WINNT 0x600
|
||||
#define _WIN32_WINNT 0x601
|
||||
#endif
|
||||
|
||||
#endif // #ifndef _WIN32_WINNT
|
||||
|
||||
#undef WINVER
|
||||
#define WINVER 0x0600
|
||||
#define WINVER _WIN32_WINNT
|
||||
#ifndef _WIN32_IE
|
||||
#define _WIN32_IE 0x0600 // Default value is 0x0400
|
||||
#endif
|
||||
|
@ -15,8 +15,10 @@
|
||||
// Official git repository and contact information can be found at
|
||||
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
|
||||
|
||||
#include "stdafx.h"
|
||||
#include <limits.h>
|
||||
#include <algorithm>
|
||||
#include <mmsystem.h>
|
||||
|
||||
#include "Core/HLE/sceCtrl.h"
|
||||
#include "DinputDevice.h"
|
||||
|
@ -20,7 +20,7 @@
|
||||
|
||||
// NOTE: Apologies for the quality of this code, this is really from pre-opensource Dolphin - that is, 2003.
|
||||
// It's improving slowly, though. :)
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "Common/CommonWindows.h"
|
||||
#include "Common/KeyMap.h"
|
||||
#include "Common/OSVersion.h"
|
||||
|
@ -1,4 +1,4 @@
|
||||
#define NOMINMAX
|
||||
#include "stdafx.h"
|
||||
#include <Windows.h>
|
||||
#include "Windows/TouchInputHandler.h"
|
||||
|
||||
|
@ -15,6 +15,7 @@
|
||||
// Official git repository and contact information can be found at
|
||||
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
|
||||
|
||||
#include "stdafx.h"
|
||||
#include <algorithm>
|
||||
#include <cmath>
|
||||
|
||||
|
@ -19,19 +19,16 @@
|
||||
|
||||
#pragma warning(disable:4996)
|
||||
|
||||
// WinSock2 MUST be included before <windows.h> !!!
|
||||
#include <WinSock2.h>
|
||||
|
||||
#undef _WIN32_WINNT
|
||||
|
||||
#if defined(_MSC_VER) && _MSC_VER < 1700
|
||||
#error You need a newer version of Visual Studio
|
||||
#else
|
||||
#define _WIN32_WINNT 0x600 // Compile for Vista on Visual Studio 2012 and above
|
||||
#define _WIN32_WINNT 0x601 // Compile for Win7 on Visual Studio 2012 and above
|
||||
#endif
|
||||
|
||||
#undef WINVER
|
||||
#define WINVER 0x0600
|
||||
#define WINVER _WIN32_WINNT
|
||||
#ifndef _WIN32_IE
|
||||
#define _WIN32_IE 0x0600 // Default value is 0x0400
|
||||
#endif
|
||||
@ -47,6 +44,16 @@
|
||||
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
|
||||
#endif
|
||||
|
||||
#ifndef WIN32_LEAN_AND_MEAN
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#endif
|
||||
#ifndef NOMINMAX
|
||||
#define NOMINMAX
|
||||
#endif
|
||||
|
||||
// WinSock2 MUST be included before <windows.h> !!!
|
||||
#include <WinSock2.h>
|
||||
|
||||
#include "Common/CommonWindows.h"
|
||||
|
||||
#include <windowsx.h>
|
||||
|
Loading…
Reference in New Issue
Block a user