mirror of
https://github.com/libretro/pcsx2.git
synced 2024-12-03 15:41:01 +00:00
Target Windows 8 via project settings
It's needed for the next commit, as thanks to wxWidgets anything using the precompiled header would default to 0x0600 (Vista) instead of 0x0602 (Win8). Now-redundant WINNT definitions resulting in macro redefinition warnings have been removed.
This commit is contained in:
parent
8841df96c0
commit
f343614640
@ -11,7 +11,7 @@
|
||||
<ClCompile>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<AdditionalIncludeDirectories>$(SolutionDir);$(SolutionDir)\3rdparty\wxWidgets3.0\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>__WIN32__;WIN32;_WINDOWS;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions>__WIN32__;WIN32;_WINDOWS;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;WINVER=0x0603;_WIN32_WINNT=0x0603;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<StructMemberAlignment>16Bytes</StructMemberAlignment>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
||||
|
@ -19,7 +19,6 @@
|
||||
#include "IopCommon.h"
|
||||
|
||||
#if defined(_WIN32)
|
||||
#define _WIN32_WINNT 0x0600
|
||||
#define NOMINMAX
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
@ -85,6 +85,8 @@ if(WIN32)
|
||||
)
|
||||
target_compile_definitions(PCSX2 PRIVATE
|
||||
_M_SSE=0x401 # TODO: Multiple ISA
|
||||
WINVER=0x0603
|
||||
_WIN32_WINNT=0x0603
|
||||
WIN32_LEAN_AND_MEAN
|
||||
LZMA_API_STATIC
|
||||
BUILD_DX=1
|
||||
|
@ -14,8 +14,6 @@
|
||||
*/
|
||||
|
||||
#include "PrecompiledHeader.h"
|
||||
#define WINVER 0x0600
|
||||
#define _WIN32_WINNT 0x0600
|
||||
|
||||
#ifdef _WIN32
|
||||
//#include <winsock2.h>
|
||||
|
@ -15,8 +15,6 @@
|
||||
|
||||
#include "PrecompiledHeader.h"
|
||||
|
||||
#define WINVER 0x0600
|
||||
#define _WIN32_WINNT 0x0600
|
||||
#ifdef _WIN32
|
||||
//#include <winsock2.h>
|
||||
#include <Winioctl.h>
|
||||
|
@ -17,8 +17,6 @@
|
||||
#include "SPU2/Global.h"
|
||||
#include "Dialogs.h"
|
||||
|
||||
#undef _WIN32_WINNT
|
||||
#define _WIN32_WINNT 0x0602
|
||||
#include <xaudio2.h>
|
||||
#include <cguid.h>
|
||||
#include <atlcomcli.h>
|
||||
|
@ -16,7 +16,6 @@
|
||||
#include "PrecompiledHeader.h"
|
||||
#include "SPU2/Global.h"
|
||||
|
||||
#define _WIN32_WINNT 0x0600
|
||||
#include <windows.h>
|
||||
#include <mmsystem.h>
|
||||
|
||||
|
@ -23,4 +23,11 @@ foreach(isa "sse4" "avx" "avx2")
|
||||
|
||||
target_compile_options(swizzle_test_${isa} PRIVATE ${compile_options_${isa}})
|
||||
target_compile_definitions(swizzle_test_${isa} PRIVATE ${definitions_${isa}})
|
||||
if(WIN32)
|
||||
target_compile_definitions(swizzle_test_${isa} PRIVATE
|
||||
WINVER=0x0603
|
||||
_WIN32_WINNT=0x0603
|
||||
WIN32_LEAN_AND_MEAN
|
||||
)
|
||||
endif()
|
||||
endforeach()
|
||||
|
Loading…
Reference in New Issue
Block a user