diff --git a/src/PowderToy.cpp b/src/PowderToy.cpp index 6dbe975be..0f4f18feb 100644 --- a/src/PowderToy.cpp +++ b/src/PowderToy.cpp @@ -155,7 +155,7 @@ static void BlueScreen(String detailMessage, std::optional> } // Don't use Platform::Exit, we're practically zombies at this point anyway. -#if defined(__MINGW32__) || defined(__APPLE__) +#if defined(__MINGW32__) || defined(__APPLE__) || defined(__EMSCRIPTEN__) // Come on... exit(-1); #else