summaryrefslogtreecommitdiff
path: root/src/builtins/sysfn.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/builtins/sysfn.c')
-rw-r--r--src/builtins/sysfn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/builtins/sysfn.c b/src/builtins/sysfn.c
index 5c34ee89..b8c9425a 100644
--- a/src/builtins/sysfn.c
+++ b/src/builtins/sysfn.c
@@ -701,7 +701,7 @@ B repl_c1(B t, B x) {
return repl_c2(t, emptyHVec(), x);
}
-#if CATCH_ERRORS
+#if USE_SETJMP
GLOBAL B lastErrMsg;
B currentError_c1(B t, B x) {
if (isNsp(x)) thrM("ā€¢CurrentError: Namespace š¯•© is reserved");
@@ -1992,7 +1992,7 @@ void sysfn_init(void) {
#undef F
NOGC_E;
- #if CATCH_ERRORS
+ #if USE_SETJMP
lastErrMsg = bi_N;
gc_add_ref(&lastErrMsg);
#endif