aboutsummaryrefslogtreecommitdiffstats
path: root/SolidityParser.cpp
diff options
context:
space:
mode:
authorGav Wood <i@gavwood.com>2015-04-05 23:46:12 +0800
committerGav Wood <i@gavwood.com>2015-04-05 23:46:12 +0800
commit966407f28555d46bddfd76287198615ac1f5cc9b (patch)
treef8abc949b57f6ec13c48f66f459a42187aa6c6ae /SolidityParser.cpp
parent8afc2ab1e11b1b2af4b9642c1075b91e2768bb48 (diff)
downloaddexon-solidity-966407f28555d46bddfd76287198615ac1f5cc9b.tar
dexon-solidity-966407f28555d46bddfd76287198615ac1f5cc9b.tar.gz
dexon-solidity-966407f28555d46bddfd76287198615ac1f5cc9b.tar.bz2
dexon-solidity-966407f28555d46bddfd76287198615ac1f5cc9b.tar.lz
dexon-solidity-966407f28555d46bddfd76287198615ac1f5cc9b.tar.xz
dexon-solidity-966407f28555d46bddfd76287198615ac1f5cc9b.tar.zst
dexon-solidity-966407f28555d46bddfd76287198615ac1f5cc9b.zip
Allow Solidity build to be disabled.
Diffstat (limited to 'SolidityParser.cpp')
-rw-r--r--SolidityParser.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/SolidityParser.cpp b/SolidityParser.cpp
index 7640f91a..b76f0065 100644
--- a/SolidityParser.cpp
+++ b/SolidityParser.cpp
@@ -20,6 +20,8 @@
* Unit tests for the solidity parser.
*/
+#if ETH_SOLIDITY
+
#include <string>
#include <memory>
#include <libdevcore/Log.h>
@@ -845,3 +847,4 @@ BOOST_AUTO_TEST_SUITE_END()
}
} // end namespaces
+#endif