diff options
author | jhuntley <jhuntley@houghtonassociates.com> | 2015-01-17 05:56:13 +0800 |
---|---|---|
committer | jhuntley <jhuntley@houghtonassociates.com> | 2015-03-05 00:17:45 +0800 |
commit | f046be3cc1f501e0bf5e766ed902f956a879f976 (patch) | |
tree | 858575117ffb574a6a4bdb1116c97a942c61568f | |
parent | d82b8c2738609fdcc4254a72519516bde03e147e (diff) | |
download | dexon-solidity-f046be3cc1f501e0bf5e766ed902f956a879f976.tar dexon-solidity-f046be3cc1f501e0bf5e766ed902f956a879f976.tar.gz dexon-solidity-f046be3cc1f501e0bf5e766ed902f956a879f976.tar.bz2 dexon-solidity-f046be3cc1f501e0bf5e766ed902f956a879f976.tar.lz dexon-solidity-f046be3cc1f501e0bf5e766ed902f956a879f976.tar.xz dexon-solidity-f046be3cc1f501e0bf5e766ed902f956a879f976.tar.zst dexon-solidity-f046be3cc1f501e0bf5e766ed902f956a879f976.zip |
Updates for mingw support. #undef conflicting defines on windows.
-rw-r--r-- | Token.h | 6 | ||||
-rw-r--r-- | Types.h | 3 |
2 files changed, 9 insertions, 0 deletions
@@ -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) \ @@ -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. |