summaryrefslogtreecommitdiff
path: root/src/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common.h b/src/common.h
index 9560cd1c..f2278c07 100644
--- a/src/common.h
+++ b/src/common.h
@@ -102,8 +102,8 @@ enum class Result {
Error,
};
-#define WABT_SUCCEEDED(x) ((x) == Result::Ok)
-#define WABT_FAILED(x) ((x) == Result::Error)
+#define WABT_SUCCEEDED(x) ((x) == ::wabt::Result::Ok)
+#define WABT_FAILED(x) ((x) == ::wabt::Result::Error)
inline std::string WABT_PRINTF_FORMAT(1, 2)
string_printf(const char* format, ...) {