Add MSVC compiler flag. (see #2094)

This commit is contained in:
HoseynHeydari
2022-04-14 17:23:59 +04:30
parent c665fd7f50
commit e3aaa40fe7
25 changed files with 66 additions and 42 deletions

View File

@@ -47,6 +47,8 @@
#include <sstream>
#include <vector>
#include <catch2/internal/catch_compiler_capabilities.hpp>
#ifndef CLARA_TEXTFLOW_CONFIG_CONSOLE_WIDTH
#define CLARA_TEXTFLOW_CONFIG_CONSOLE_WIDTH 80
#endif
@@ -379,7 +381,7 @@ namespace clara { namespace TextFlow {
#include <set>
#include <algorithm>
#if !defined(CLARA_PLATFORM_WINDOWS) && ( defined(WIN32) || defined(__WIN32__) || defined(_WIN32) || defined(_MSC_VER) )
#if !defined(CLARA_PLATFORM_WINDOWS) && ( defined(WIN32) || defined(__WIN32__) || defined(_WIN32) || defined(CATCH_COMPILER_MSC) )
#define CLARA_PLATFORM_WINDOWS
#endif