mirror of https://github.com/YosysHQ/yosys.git
Fixed gcc build (c++11 stuff in ezSAT)
This commit is contained in:
parent
4b311b7b99
commit
1bee82ae2d
|
@ -24,6 +24,9 @@
|
|||
#include <stdlib.h>
|
||||
#include <assert.h>
|
||||
|
||||
const int ezSAT::TRUE = 1;
|
||||
const int ezSAT::FALSE = 2;
|
||||
|
||||
ezSAT::ezSAT()
|
||||
{
|
||||
literal("TRUE");
|
||||
|
|
|
@ -44,8 +44,8 @@ public:
|
|||
OpNot, OpAnd, OpOr, OpXor, OpIFF, OpITE
|
||||
};
|
||||
|
||||
const int TRUE = 1;
|
||||
const int FALSE = 2;
|
||||
static const int TRUE;
|
||||
static const int FALSE;
|
||||
|
||||
private:
|
||||
std::map<std::string, int> literalsCache;
|
||||
|
|
Loading…
Reference in New Issue