mirror of
https://github.com/Z3Prover/z3
synced 2025-04-28 11:25:51 +00:00
Bugfixes for compilation in Cygwin (WIN32 -> _WINDOWS)
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
This commit is contained in:
parent
e077fc5cb4
commit
d51d9b18f9
4 changed files with 11 additions and 11 deletions
|
@ -25,7 +25,7 @@ Revision History:
|
|||
#include <map>
|
||||
|
||||
// make hash_map and hash_set available
|
||||
#ifndef WIN32
|
||||
#ifndef _WINDOWS
|
||||
using namespace stl_ext;
|
||||
#endif
|
||||
|
||||
|
@ -782,7 +782,7 @@ protected:
|
|||
};
|
||||
|
||||
|
||||
#ifdef WIN32
|
||||
#ifdef _WINDOWS
|
||||
__declspec(dllexport)
|
||||
#endif
|
||||
void FromClauses(const std::vector<Term> &clauses);
|
||||
|
|
|
@ -1402,7 +1402,7 @@ namespace hash_space {
|
|||
}
|
||||
|
||||
// to make Duality::ast hashable in windows
|
||||
#ifdef WIN32
|
||||
#ifdef _WINDOWS
|
||||
template <> inline
|
||||
size_t stdext::hash_value<Duality::ast >(const Duality::ast& s)
|
||||
{
|
||||
|
@ -1446,7 +1446,7 @@ namespace hash_space {
|
|||
}
|
||||
|
||||
// to make Duality::func_decl hashable in windows
|
||||
#ifdef WIN32
|
||||
#ifdef _WINDOWS
|
||||
template <> inline
|
||||
size_t stdext::hash_value<Duality::func_decl >(const Duality::func_decl& s)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue