Skip to content

Support Minisat source variants where l_False/l_True are not macros #8107

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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