Progmasoft Git

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

Force include catch_platform.h before any if-defs

Closes #994
Commit
cb2fceb1198252d718ae9613b73d4146bf4f204a
Author
Martin Hořeňovský ·
Parents
49f5919c4130

Files · Download .tar.gz

Changes

 include/catch.hpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/catch.hpp b/include/catch.hpp
index db1f366c..c1099264 100644
--- a/include/catch.hpp
+++ b/include/catch.hpp
@@ -22,6 +22,8 @@
 #  define CATCH_CONFIG_EXTERNAL_INTERFACES
 #endif
 
+#include "internal/catch_platform.h"
+
 #ifdef CATCH_IMPL
 #  ifndef CLARA_CONFIG_MAIN
 #    define CLARA_CONFIG_MAIN_NOT_DEFINED