mirror of
https://github.com/Z3Prover/z3
synced 2025-08-23 19:47:52 +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
|
@ -23,8 +23,6 @@ Revision History:
|
|||
#if defined(_WINDOWS) || defined(_CYGWIN)
|
||||
|
||||
// Does this redefinition work?
|
||||
#define ARRAYSIZE_TEMP ARRAYSIZE
|
||||
#undef ARRAYSIZE
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
|
@ -68,8 +66,6 @@ public:
|
|||
}
|
||||
};
|
||||
|
||||
#undef ARRAYSIZE
|
||||
#define ARRAYSIZE ARRAYSIZE_TEMP
|
||||
#undef max
|
||||
#undef min
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue