From 1345bb5b0e10e213fb1943fe491679d6fe45e9b0 Mon Sep 17 00:00:00 2001 From: Neil Date: Thu, 1 Feb 2024 08:54:25 +1100 Subject: Protect CATCH_CONFIG_WINDOWS_CRTDBG to only be active on Windows to allow building UnitTester.cxx on macOS. --- test/unit/UnitTester.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test') diff --git a/test/unit/UnitTester.cxx b/test/unit/UnitTester.cxx index 6382b428b..354ae5919 100644 --- a/test/unit/UnitTester.cxx +++ b/test/unit/UnitTester.cxx @@ -16,7 +16,9 @@ #include "Debugging.h" +#if defined(_WIN32) #define CATCH_CONFIG_WINDOWS_CRTDBG +#endif #define CATCH_CONFIG_RUNNER #include "catch.hpp" -- cgit v1.2.3