aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLefteris Karapetsas <lefteris@refu.co>2015-01-15 22:00:28 +0800
committerLefteris Karapetsas <lefteris@refu.co>2015-01-15 22:00:28 +0800
commit95fc27cba9a2241fbc438f3982f3642fe5a4bfe5 (patch)
treeb748fae80d7e47671dd049517e67a285deb246f8
parent1515f140b3bc2882aa8e2495155c775d05883ed1 (diff)
downloaddexon-solidity-95fc27cba9a2241fbc438f3982f3642fe5a4bfe5.tar
dexon-solidity-95fc27cba9a2241fbc438f3982f3642fe5a4bfe5.tar.gz
dexon-solidity-95fc27cba9a2241fbc438f3982f3642fe5a4bfe5.tar.bz2
dexon-solidity-95fc27cba9a2241fbc438f3982f3642fe5a4bfe5.tar.lz
dexon-solidity-95fc27cba9a2241fbc438f3982f3642fe5a4bfe5.tar.xz
dexon-solidity-95fc27cba9a2241fbc438f3982f3642fe5a4bfe5.tar.zst
dexon-solidity-95fc27cba9a2241fbc438f3982f3642fe5a4bfe5.zip
also add compiler error if include order could cause a problem in windows
-rw-r--r--Token.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Token.h b/Token.h
index 2d4441d0..e5c61c7e 100644
--- a/Token.h
+++ b/Token.h
@@ -47,6 +47,10 @@
#include <libsolidity/Utils.h>
#include <libsolidity/Exceptions.h>
+#if defined(DELETE)
+#error The macro "DELETE" from windows.h conflicts with this file. Please change the order of includes.
+#endif
+
namespace dev
{
namespace solidity