Disable POSIX signals for Emscripten

Related to #1114
This commit is contained in:
Martin Hořeňovský 2018-02-10 20:42:08 +01:00
parent a90305f857
commit ef2e112561

View File

@ -61,7 +61,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// We know some environments not to support full POSIX signals // We know some environments not to support full POSIX signals
#if defined(__CYGWIN__) || defined(__QNX__) #if defined(__CYGWIN__) || defined(__QNX__) || defined(__EMSCRIPTEN__)
# if !defined(CATCH_CONFIG_POSIX_SIGNALS) # if !defined(CATCH_CONFIG_POSIX_SIGNALS)
# define CATCH_INTERNAL_CONFIG_NO_POSIX_SIGNALS # define CATCH_INTERNAL_CONFIG_NO_POSIX_SIGNALS