mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
fix if-def
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
13b54f379c
commit
ad6e128cab
1 changed files with 2 additions and 2 deletions
|
@ -20,8 +20,6 @@ static bool build_instance(char const * filename, sat::solver& s, sat::local_sea
|
|||
#ifdef _WINDOWS
|
||||
int num_vars = 0, num_constraints = 0;
|
||||
sscanf_s(line, "%d %d", &num_vars, &num_constraints);
|
||||
#else
|
||||
return false;
|
||||
//std::cout << "number of variables: " << num_vars << '\n';
|
||||
//std::cout << "number of constraints: " << num_constraints << '\n';
|
||||
|
||||
|
@ -69,6 +67,8 @@ static bool build_instance(char const * filename, sat::solver& s, sat::local_sea
|
|||
|
||||
infile.close();
|
||||
return true;
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue