Skip to content

Commit

Permalink
Make compile on stable version
Browse files Browse the repository at this point in the history
  • Loading branch information
JanWielemaker committed Oct 22, 2024
1 parent 7fee68a commit 1a2348c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions janus/janus.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
#include <frameobject.h> /* Limited API */
#endif
#include <assert.h>
#include <stdbool.h>

static atom_t ATOM_none;
static atom_t ATOM_false;
Expand Down
2 changes: 1 addition & 1 deletion janus/mod_swipl.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ Py_SetPrologErrorFromObject(PyObject *obj)
Py_CLEAR(argv);
}

#ifdef PL_Q_EXCEPT_HALT
static term_t
is_unwind_exception(term_t ex)
{ term_t a;
Expand All @@ -83,7 +84,6 @@ is_unwind_exception(term_t ex)
return 0;
}

#ifdef PL_Q_EXCEPT_HALT
static bool
is_halt_exception(term_t a, int *code)
{ int i;
Expand Down

0 comments on commit 1a2348c

Please sign in to comment.