mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 20:27: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:
		| @@ -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 { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Martin Hořeňovský
					Martin Hořeňovský