Browse Source

Updates for mingw support. #undef conflicting defines on windows.

cl-refactor
jhuntley 10 years ago
parent
commit
5cec8a5c6f
  1. 6
      libsolidity/Token.h
  2. 3
      libsolidity/Types.h

6
libsolidity/Token.h

@ -65,6 +65,12 @@ namespace solidity
// an argument (at any position) for a TOKEN_LIST call. It does
// nothing with tokens belonging to the respective category.
#if defined(__MINGW32__)
#undef IN
#undef DELETE
#undef CONST
#endif
#define IGNORE_TOKEN(name, string, precedence)
#define TOKEN_LIST(T, K) \

3
libsolidity/Types.h

@ -67,6 +67,9 @@ private:
MemberMap m_memberTypes;
};
#if defined(__MINGW32__)
#undef VOID
#endif
/**
* Abstract base class that forms the root of the type hierarchy.

Loading…
Cancel
Save