Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorMartin Hořeňovský2023-05-12 17:03:35 +0200
committerMartin Hořeňovský2023-05-28 21:04:16 +0200
commit73b93ce6bc1310f9e759f023da74805d311162e5 (patch)
tree5f3dbed6aed76474b2b876e4196a489a9c134e75 /src
parent8008625d7e00d42120b1e10e991f044c280dc88a (diff)
downloadcatch3-73b93ce6bc1310f9e759f023da74805d311162e5.tar.gz
Include catch_user_config.hpp in all catch_config_* files
Diffstat (limited to 'src')
-rw-r--r--src/catch2/internal/catch_config_counter.hpp2
-rw-r--r--src/catch2/internal/catch_config_uncaught_exceptions.hpp2
-rw-r--r--src/catch2/internal/catch_config_wchar.hpp2
3 files changed, 6 insertions, 0 deletions
diff --git a/src/catch2/internal/catch_config_counter.hpp b/src/catch2/internal/catch_config_counter.hpp
index 23b22324..a482ce34 100644
--- a/src/catch2/internal/catch_config_counter.hpp
+++ b/src/catch2/internal/catch_config_counter.hpp
@@ -18,6 +18,8 @@
#ifndef CATCH_CONFIG_COUNTER_HPP_INCLUDED
#define CATCH_CONFIG_COUNTER_HPP_INCLUDED
+#include <catch2/catch_user_config.hpp>
+
#if ( !defined(__JETBRAINS_IDE__) || __JETBRAINS_IDE__ >= 20170300L )
#define CATCH_INTERNAL_CONFIG_COUNTER
#endif
diff --git a/src/catch2/internal/catch_config_uncaught_exceptions.hpp b/src/catch2/internal/catch_config_uncaught_exceptions.hpp
index 5c4cb930..20b1dfca 100644
--- a/src/catch2/internal/catch_config_uncaught_exceptions.hpp
+++ b/src/catch2/internal/catch_config_uncaught_exceptions.hpp
@@ -17,6 +17,8 @@
#ifndef CATCH_CONFIG_UNCAUGHT_EXCEPTIONS_HPP_INCLUDED
#define CATCH_CONFIG_UNCAUGHT_EXCEPTIONS_HPP_INCLUDED
+#include <catch2/catch_user_config.hpp>
+
#if defined(_MSC_VER)
# if _MSC_VER >= 1900 // Visual Studio 2015 or newer
# define CATCH_INTERNAL_CONFIG_CPP17_UNCAUGHT_EXCEPTIONS
diff --git a/src/catch2/internal/catch_config_wchar.hpp b/src/catch2/internal/catch_config_wchar.hpp
index 8c758ec4..90d85d05 100644
--- a/src/catch2/internal/catch_config_wchar.hpp
+++ b/src/catch2/internal/catch_config_wchar.hpp
@@ -17,6 +17,8 @@
#ifndef CATCH_CONFIG_WCHAR_HPP_INCLUDED
#define CATCH_CONFIG_WCHAR_HPP_INCLUDED
+#include <catch2/catch_user_config.hpp>
+
// We assume that WCHAR should be enabled by default, and only disabled
// for a shortlist (so far only DJGPP) of compilers.