Skip to content

Commit

Permalink
Merge pull request #8107 from tautschnig/bugfixes/minisat-versions-l_…
Browse files Browse the repository at this point in the history
…True

Support Minisat source variants where l_False/l_True are not macros
  • Loading branch information
tautschnig authored Feb 5, 2024
2 parents 12660ce + c274d6e commit da165a1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/solvers/sat/satcheck_minisat2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ Author: Daniel Kroening, [email protected]
#include <minisat/core/Solver.h>
#include <minisat/simp/SimpSolver.h>

#ifndef l_False
# define l_False Minisat::l_False
# define l_True Minisat::l_True
#endif

#ifndef HAVE_MINISAT2
#error "Expected HAVE_MINISAT2"
#endif
Expand Down

0 comments on commit da165a1

Please sign in to comment.