3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-10 19:27:06 +00:00

mac build

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2018-03-20 19:19:42 -07:00
parent ff2924e83b
commit 4b71bfc95d
2 changed files with 5 additions and 0 deletions

View file

@ -17,6 +17,7 @@ Revision History:
--*/
#include <cmath>
#include "sat/ba_solver.h"
#include "sat/sat_types.h"
#include "util/mpz.h"

View file

@ -18,7 +18,11 @@ static bool build_instance(char const * filename, sat::solver& s, sat::local_sea
}
infile.getline(line, 16383);
int num_vars, num_constraints;
#ifdef _WINDOWS
sscanf_s(line, "%d %d", &num_vars, &num_constraints);
#else
return false;
#endif
//std::cout << "number of variables: " << num_vars << '\n';
//std::cout << "number of constraints: " << num_constraints << '\n';