diff options
| author | Neil <nyamatongwe@gmail.com> | 2024-02-01 08:54:25 +1100 |
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2024-02-01 08:54:25 +1100 |
| commit | 1345bb5b0e10e213fb1943fe491679d6fe45e9b0 (patch) | |
| tree | 4e10b35d16172b56dfb4f96048588b767232e296 /test | |
| parent | 77d00274b4e729ba5eac3cda390d6aa9478567ca (diff) | |
| download | scintilla-mirror-1345bb5b0e10e213fb1943fe491679d6fe45e9b0.tar.gz | |
Protect CATCH_CONFIG_WINDOWS_CRTDBG to only be active on Windows to allow
building UnitTester.cxx on macOS.
Diffstat (limited to 'test')
| -rw-r--r-- | test/unit/UnitTester.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
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" |
