mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 20:27:11 +01:00 
			
		
		
		
	| @@ -8,6 +8,8 @@ | ||||
| #ifndef TWOBLUECUBES_CATCH_COMPILER_CAPABILITIES_HPP_INCLUDED | ||||
| #define TWOBLUECUBES_CATCH_COMPILER_CAPABILITIES_HPP_INCLUDED | ||||
|  | ||||
| #include "catch_platform.h" | ||||
|  | ||||
| // Detect a number of compiler features - by compiler | ||||
| // The following features are defined: | ||||
| // | ||||
| @@ -76,6 +78,14 @@ | ||||
| #       define CATCH_CONFIG_COLOUR_NONE | ||||
| #endif | ||||
|  | ||||
|  | ||||
|  | ||||
| //////////////////////////////////////////////////////////////////////////////// | ||||
| // We know some environments not to support full POSIX signals | ||||
| #if defined(__MINGW32__) | ||||
| #    define CATCH_INTERNAL_CONFIG_NO_WINDOWS_SEH | ||||
| #endif | ||||
|  | ||||
| //////////////////////////////////////////////////////////////////////////////// | ||||
| // Cygwin | ||||
| #ifdef __CYGWIN__ | ||||
| @@ -126,7 +136,7 @@ | ||||
| #if defined(CATCH_INTERNAL_CONFIG_COUNTER) && !defined(CATCH_CONFIG_NO_COUNTER) && !defined(CATCH_CONFIG_COUNTER) | ||||
| #   define CATCH_CONFIG_COUNTER | ||||
| #endif | ||||
| #if defined(CATCH_INTERNAL_CONFIG_WINDOWS_SEH) && !defined(CATCH_CONFIG_NO_WINDOWS_SEH) && !defined(CATCH_CONFIG_WINDOWS_SEH) | ||||
| #if defined(CATCH_INTERNAL_CONFIG_WINDOWS_SEH) && !defined(CATCH_CONFIG_NO_WINDOWS_SEH) && !defined(CATCH_CONFIG_WINDOWS_SEH) && !defined(CATCH_INTERNAL_CONFIG_NO_WINDOWS_SEH) | ||||
| #   define CATCH_CONFIG_WINDOWS_SEH | ||||
| #endif | ||||
| // This is set by default, because we assume that unix compilers are posix-signal-compatible by default. | ||||
|   | ||||
| @@ -20,7 +20,7 @@ | ||||
| #elif defined(linux) || defined(__linux) || defined(__linux__) | ||||
| #  define CATCH_PLATFORM_LINUX | ||||
|  | ||||
| #elif defined(WIN32) || defined(__WIN32__) || defined(_WIN32) || defined(_MSC_VER) | ||||
| #elif defined(WIN32) || defined(__WIN32__) || defined(_WIN32) || defined(_MSC_VER) || defined(__MINGW32__) | ||||
| #  define CATCH_PLATFORM_WINDOWS | ||||
| #endif | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Martin Hořeňovský
					Martin Hořeňovský