catch3
Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.
Clonegit clone https://git.progmasoft.com/catch3
Use MFCs windows include if present
- Commit
ba9b2b5a377b0495ff2bb5dd06c0a4e5b6f3345a- Author
- Phil Nash ·
- Parents
4b5e008b20da
Changes
include/internal/catch_console_colour_impl.hpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/internal/catch_console_colour_impl.hpp b/include/internal/catch_console_colour_impl.hpp index 3881dc43..92bd1dd9 100644 --- a/include/internal/catch_console_colour_impl.hpp +++ b/include/internal/catch_console_colour_impl.hpp @@ -22,7 +22,12 @@ namespace Catch { namespace Detail { #ifndef NOMINMAX #define NOMINMAX #endif + +#ifdef __AFXDLL +#include <AfxWin.h> +#else #include <windows.h> +#endif namespace Catch { namespace {