mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 17:19:44 -06:00
Merge pull request #920 from shuffle2/msvc-gtest
Provide a way to build and run unittests on Windows
This commit is contained in:
@ -127,7 +127,7 @@
|
||||
<Text Include="CMakeLists.txt" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\..\Externals\polarssl\visualc\PolarSSL.vcxproj">
|
||||
<ProjectReference Include="$(ExternalsDir)polarssl\visualc\PolarSSL.vcxproj">
|
||||
<Project>{bdb6578b-0691-4e80-a46c-df21639fd3b8}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="SCMRevGen.vcxproj">
|
||||
|
@ -161,6 +161,12 @@ extern "C"
|
||||
__declspec(dllimport) void __stdcall DebugBreak(void);
|
||||
}
|
||||
#define Crash() {DebugBreak();}
|
||||
|
||||
#if (_MSC_VER > 1800)
|
||||
#error alignof compat can be removed
|
||||
#else
|
||||
#define alignof(x) __alignof(x)
|
||||
#endif
|
||||
#endif // WIN32 ndef
|
||||
|
||||
// Generic function to get last error message.
|
||||
|
Reference in New Issue
Block a user