diff options
| author | Phil Nash | 2013-07-01 18:44:40 +0100 |
|---|---|---|
| committer | Phil Nash | 2013-07-01 18:44:40 +0100 |
| commit | ba9b2b5a377b0495ff2bb5dd06c0a4e5b6f3345a (patch) | |
| tree | 58510fa15dbec61ee3f2156480b1c0d7dca9b62b /include | |
| parent | 4b5e008b20da8c6e11c6192710d60cdb2c884056 (diff) | |
| download | catch3-ba9b2b5a377b0495ff2bb5dd06c0a4e5b6f3345a.tar.gz | |
Use MFCs windows include if present
Diffstat (limited to 'include')
| -rw-r--r-- | include/internal/catch_console_colour_impl.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
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 { |