Simplify internal configuration of POSIX signals

This commit is contained in:
Martin Hořeňovský 2018-03-06 17:58:37 +01:00
parent 1d1f8dc992
commit 9d1858b195

View File

@ -68,13 +68,9 @@
////////////////////////////////////////////////////////////////////////////////
// We know some environments not to support full POSIX signals
#if defined(__CYGWIN__) || defined(__QNX__) || defined(__EMSCRIPTEN__)
# if !defined(CATCH_CONFIG_POSIX_SIGNALS)
#define CATCH_INTERNAL_CONFIG_NO_POSIX_SIGNALS
#endif
#endif
#ifdef __OS400__
# define CATCH_INTERNAL_CONFIG_NO_POSIX_SIGNALS
# define CATCH_CONFIG_COLOUR_NONE