aboutsummaryrefslogtreecommitdiffstats
path: root/SolidityNatspecJSON.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'SolidityNatspecJSON.cpp')
-rw-r--r--SolidityNatspecJSON.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/SolidityNatspecJSON.cpp b/SolidityNatspecJSON.cpp
index aeaad196..28d65735 100644
--- a/SolidityNatspecJSON.cpp
+++ b/SolidityNatspecJSON.cpp
@@ -20,6 +20,8 @@
* Unit tests for the solidity compiler JSON Interface output.
*/
+#if ETH_SOLIDITY
+
#include "TestHelper.h"
#include <json/json.h>
#include <libsolidity/CompilerStack.h>
@@ -537,3 +539,5 @@ BOOST_AUTO_TEST_SUITE_END()
}
}
}
+
+#endif