aboutsummaryrefslogtreecommitdiffstats
path: root/Types.h
diff options
context:
space:
mode:
authorjhuntley <jhuntley@houghtonassociates.com>2015-01-24 02:27:56 +0800
committerjhuntley <jhuntley@houghtonassociates.com>2015-03-05 00:17:46 +0800
commita4d772315d814408c057a9473c2c1fefa351a5b4 (patch)
tree3ad39c07bdec401f4aaeaa48ded5e20e5c4b1c7c /Types.h
parent055f45f11b89f5f0b10302c211bab3534f48cad2 (diff)
downloaddexon-solidity-a4d772315d814408c057a9473c2c1fefa351a5b4.tar.gz
dexon-solidity-a4d772315d814408c057a9473c2c1fefa351a5b4.tar.zst
dexon-solidity-a4d772315d814408c057a9473c2c1fefa351a5b4.zip
Consolidating macro resolution to one header file as per project owner request. Added inline comments covering reasons for undef of macros. Resolves issues with problem #832:
Adding UndefWindowsMacros.h to handle V8 CPP conflicts in Windows #832
Diffstat (limited to 'Types.h')
-rw-r--r--Types.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/Types.h b/Types.h
index 511e5f64..afecf3c8 100644
--- a/Types.h
+++ b/Types.h
@@ -30,12 +30,7 @@
#include <libsolidity/Exceptions.h>
#include <libsolidity/ASTForward.h>
#include <libsolidity/Token.h>
-
-// Updates for mingw support. #undef conflicting defines which have been
-// repurposed for TOKEN_LIST on windows.
-#if defined(_MSC_VER) || defined(__MINGW32__)
-#undef VOID
-#endif
+#include <libdevcore/UndefMacros.h>
namespace dev
{