mirror of
https://github.com/catchorg/Catch2.git
synced 2025-11-16 10:59:31 +01:00
Add MSVC compiler flag. (see #2094)
This commit is contained in:
4
third_party/clara.hpp
vendored
4
third_party/clara.hpp
vendored
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user