diff --git a/src/corelib/kernel/qcore_wasm.cpp b/src/corelib/kernel/qcore_wasm.cpp index 5c8fac59b0..d7135840fb 100644 --- a/src/corelib/kernel/qcore_wasm.cpp +++ b/src/corelib/kernel/qcore_wasm.cpp @@ -6,7 +6,7 @@ #include #if !defined(Q_OS_WASM) -static_assert(false, "This is a wasm-only file."); +#error This is a wasm-only file. #endif // !defined(Q_OS_WASM) QT_BEGIN_NAMESPACE