From 2371bf61f9f240f1a4189f7c2a0520d0675064da Mon Sep 17 00:00:00 2001 From: Torphedo <73564623+Torphedo@users.noreply.github.com> Date: Mon, 28 Mar 2022 18:58:25 -0400 Subject: [PATCH] Comment out error --- ZAPDTR/ZAPD/Main.cpp | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/ZAPDTR/ZAPD/Main.cpp b/ZAPDTR/ZAPD/Main.cpp index a3e49e936..250704993 100644 --- a/ZAPDTR/ZAPD/Main.cpp +++ b/ZAPDTR/ZAPD/Main.cpp @@ -188,7 +188,16 @@ int main(int argc, char* argv[]) } else if (arg == "-eh") // Enable Error Handler { - + #if !defined(_MSC_VER) && !defined(__CYGWIN__) + signal(SIGSEGV, ErrorHandler); + signal(SIGABRT, ErrorHandler); +#else + // HANDLE_WARNING(WarningType::Always, + // "tried to set error handler, but this ZAPD build lacks support for one", + // ""); +#endif + + } else if (arg == "-v") // Verbose {