mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 01:25:31 +00:00
remove dependency on ARRAYSIZE for issue #1616
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
95963f71f4
commit
2b2f193f2b
11 changed files with 137 additions and 49 deletions
|
@ -544,7 +544,7 @@ namespace smt {
|
|||
char buffer[128];
|
||||
static int id = 0;
|
||||
#ifdef _WINDOWS
|
||||
sprintf_s(buffer, ARRAYSIZE(buffer), "arith_%d.smt", id);
|
||||
sprintf_s(buffer, Z3_ARRAYSIZE(buffer), "arith_%d.smt", id);
|
||||
#else
|
||||
sprintf(buffer, "arith_%d.smt", id);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue