diff options
Diffstat (limited to 'src/sat')
-rw-r--r-- | src/sat/bsat/satSolver.h | 5 | ||||
-rw-r--r-- | src/sat/fraig/fraig.h | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/sat/bsat/satSolver.h b/src/sat/bsat/satSolver.h index 986e48d5..f5424c85 100644 --- a/src/sat/bsat/satSolver.h +++ b/src/sat/bsat/satSolver.h @@ -46,12 +46,17 @@ static const bool false = 0; typedef int lit; typedef char lbool; +#ifndef SINT64 +#define SINT64 + #ifdef _WIN32 typedef signed __int64 sint64; // compatible with MS VS 6.0 #else typedef long long sint64; #endif +#endif + static const int var_Undef = -1; static const lit lit_Undef = -2; diff --git a/src/sat/fraig/fraig.h b/src/sat/fraig/fraig.h index 7e595390..1dad21e2 100644 --- a/src/sat/fraig/fraig.h +++ b/src/sat/fraig/fraig.h @@ -27,12 +27,17 @@ extern "C" { /// INCLUDES /// //////////////////////////////////////////////////////////////////////// +#ifndef SINT64 +#define SINT64 + #ifdef _WIN32 typedef signed __int64 sint64; // compatible with MS VS 6.0 #else typedef long long sint64; #endif +#endif + //////////////////////////////////////////////////////////////////////// /// PARAMETERS /// //////////////////////////////////////////////////////////////////////// |