Skip to content

Commit da165a1

Browse files
authored
Merge pull request #8107 from tautschnig/bugfixes/minisat-versions-l_True
Support Minisat source variants where l_False/l_True are not macros
2 parents 12660ce + c274d6e commit da165a1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/solvers/sat/satcheck_minisat2.cpp

+5
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ Author: Daniel Kroening, [email protected]
2121
#include <minisat/core/Solver.h>
2222
#include <minisat/simp/SimpSolver.h>
2323

24+
#ifndef l_False
25+
# define l_False Minisat::l_False
26+
# define l_True Minisat::l_True
27+
#endif
28+
2429
#ifndef HAVE_MINISAT2
2530
#error "Expected HAVE_MINISAT2"
2631
#endif

0 commit comments

Comments
 (0)