Skip to content

Commit

Permalink
Merge pull request Z3Prover#2073 from waywardmonkeys/emscripten-no-debug
Browse files Browse the repository at this point in the history
Define NO_Z3_DEBUGGER for emscripten builds.
  • Loading branch information
NikolajBjorner authored Jan 10, 2019
2 parents efaab6d + d757c34 commit 1e4662e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/util/debug.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ bool assertions_enabled();
#endif
#endif

#ifdef __EMSCRIPTEN__
#define NO_Z3_DEBUGGER
#endif

#ifdef NO_Z3_DEBUGGER
#define INVOKE_DEBUGGER() exit(ERR_INTERNAL_FATAL)
#else
Expand Down

0 comments on commit 1e4662e

Please sign in to comment.