Spicy
doctest.h
1 // Copyright (c) 2020-2021 by the Zeek Project. See LICENSE for details.
2 //
3 // Wrapper for including doctest.h.
4 
5 #pragma once
6 
7 #ifdef __APPLE__
8 #ifndef __MAC_OS_X_VERSION_MIN_REQUIRED
9 // doctest uses this macro for platform detection, but it's not always defined
10 // for me. If doctest doesn't recognize the platform, break-into-debugger
11 // won't be supported. We just set it to some dummy value, that'll doctest
12 // believe we are on macOS.
13 #define __MAC_OS_X_VERSION_MIN_REQUIRED 1000
14 #endif
15 #endif
16 
17 #include <doctest/doctest.h>