mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Add initial support for native Visual Studio 2012(and above) compilation. Just upgrade the SLN, and go.
This commit is contained in:
parent
7d1b604bf8
commit
e00364bfa5
3 changed files with 19 additions and 3 deletions
|
@ -18,8 +18,15 @@
|
|||
#pragma once
|
||||
|
||||
#ifndef _WIN32_WINNT
|
||||
#define _WIN32_WINNT 0x501
|
||||
#endif
|
||||
|
||||
#if _MSC_VER < 1700
|
||||
#define _WIN32_WINNT 0x501 // Compile for XP on Visual Studio 2010 and below
|
||||
#else
|
||||
#define _WIN32_WINNT 0x600 // Compile for Vista on Visual Studio 2012 and above
|
||||
#endif // #if _MSC_VER < 1700
|
||||
|
||||
#endif // #ifndef _WIN32_WINNT
|
||||
|
||||
#ifndef _WIN32_IE
|
||||
#define _WIN32_IE 0x0500 // Default value is 0x0400
|
||||
#endif
|
||||
|
|
|
@ -15,6 +15,9 @@
|
|||
// Official git repository and contact information can be found at
|
||||
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
|
||||
|
||||
// Has to be included before TextureScaler.h, else we get those std::bind errors in VS2012..
|
||||
#include "../native/base/basictypes.h"
|
||||
|
||||
#include "TextureScaler.h"
|
||||
|
||||
#include "Core/Config.h"
|
||||
|
|
|
@ -26,7 +26,13 @@
|
|||
//#ifdef WINDOWS
|
||||
|
||||
#undef _WIN32_WINNT
|
||||
#define _WIN32_WINNT 0x600
|
||||
|
||||
#if _MSC_VER < 1700
|
||||
#define _WIN32_WINNT 0x501 // Compile for XP on Visual Studio 2010 and below
|
||||
#else
|
||||
#define _WIN32_WINNT 0x600 // Compile for Vista on Visual Studio 2012 and above
|
||||
#endif
|
||||
|
||||
#undef WINVER
|
||||
#define WINVER 0x0600
|
||||
#ifndef _WIN32_IE
|
||||
|
|
Loading…
Add table
Reference in a new issue