aboutsummaryrefslogtreecommitdiffstats
path: root/Token.h
diff options
context:
space:
mode:
authorjhuntley <jhuntley@houghtonassociates.com>2015-01-17 05:56:13 +0800
committerjhuntley <jhuntley@houghtonassociates.com>2015-03-05 00:17:45 +0800
commitf046be3cc1f501e0bf5e766ed902f956a879f976 (patch)
tree858575117ffb574a6a4bdb1116c97a942c61568f /Token.h
parentd82b8c2738609fdcc4254a72519516bde03e147e (diff)
downloaddexon-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.
Diffstat (limited to 'Token.h')
-rw-r--r--Token.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Token.h b/Token.h
index 5e4a6317..2c24f7af 100644
--- a/Token.h
+++ b/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) \