-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fbec706
commit 843c0d7
Showing
2 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
diff --git a/src/core/error.c b/src/core/error.c | ||
index 6e928cc00..9abfc693c 100644 | ||
--- a/src/core/error.c | ||
+++ b/src/core/error.c | ||
@@ -169,9 +169,9 @@ igraph_error_t igraph_error(const char *reason, const char *file, int line, | ||
|
||
if (igraph_i_error_handler) { | ||
igraph_i_error_handler(reason, file, line, igraph_errno); | ||
-#ifndef USING_R | ||
- } else { | ||
- igraph_error_handler_abort(reason, file, line, igraph_errno); | ||
+#if !defined(USING_R) && !defined(__EMSCRIPTEN__) | ||
+ } else { | ||
+ igraph_error_handler_abort(reason, file, line, igraph_errno); | ||
#endif | ||
} | ||
return igraph_errno; |