mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-22 21:36:11 +01:00
Include windows.h proxy header, instead of windows.h itself
Because the signal changes were in a different branch from the windows.h related changes, the SEH handling code included the header directly. Fixes #803
This commit is contained in:
parent
ce37f48ffa
commit
712323ab7c
@ -23,11 +23,8 @@ namespace Catch {
|
|||||||
|
|
||||||
#if defined ( CATCH_PLATFORM_WINDOWS ) /////////////////////////////////////////
|
#if defined ( CATCH_PLATFORM_WINDOWS ) /////////////////////////////////////////
|
||||||
|
|
||||||
#define NOMINMAX
|
|
||||||
#define WIN32_LEAN_AND_MEAN
|
#include "catch_windows_h_proxy.h"
|
||||||
#include <windows.h>
|
|
||||||
#undef WIN32_LEAN_AND_MEAN
|
|
||||||
#undef NOMINMAX
|
|
||||||
|
|
||||||
|
|
||||||
namespace Catch {
|
namespace Catch {
|
||||||
|
Loading…
Reference in New Issue
Block a user