diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2007-02-16 08:01:00 -0800 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2007-02-16 08:01:00 -0800 |
commit | 607c253cd2712bacce21ca9b98a848f331ea03a9 (patch) | |
tree | f1189c20d24fec46f4fef155de11d347144c59f3 /src/sat | |
parent | 5f3e4c0fe21ba5e24db0c187a616a28afc0dabae (diff) | |
download | abc-607c253cd2712bacce21ca9b98a848f331ea03a9.tar.gz abc-607c253cd2712bacce21ca9b98a848f331ea03a9.tar.bz2 abc-607c253cd2712bacce21ca9b98a848f331ea03a9.zip |
Version abc70216
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 /// //////////////////////////////////////////////////////////////////////// |