Skip to content

Commit

Permalink
hack: undef status_interrupted to fix windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmed-irfan committed Oct 10, 2023
1 parent 95f13c6 commit 8638a19
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/include/yices_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,15 @@ typedef struct ctx_config_s ctx_config_t;
typedef struct param_s param_t;


/*
* Hack for fixing windows build when using the thread-safe option.
* Better fix requires renaming symbols, so it will be done in the
* non-backward compatible release (2.8).
*/
#if defined(MINGW) && defined(THREAD_SAFE) && defined(STATUS_INTERRUPTED)
#undef STATUS_INTERRUPTED
#endif

/*
* Context status code
*/
Expand Down

0 comments on commit 8638a19

Please sign in to comment.