From cf0b87c7c208a42572e5c3150386c2d266a648b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Arne=20Vestb=C3=B8?= Date: Mon, 26 Aug 2024 18:34:09 +0200 Subject: [PATCH] wasm: Ifdef out unused function systemHasStderr Change-Id: Ifae799d62668382c93ef85826b397f4a9d3e4199 Reviewed-by: Thiago Macieira (cherry picked from commit 09681d46f4cd17b2e78c93ff7da9e030f0ce6e0e) Reviewed-by: Qt Cherry-pick Bot --- src/corelib/global/qlogging.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/corelib/global/qlogging.cpp b/src/corelib/global/qlogging.cpp index 998eafcbbb..8bdf7c7b6f 100644 --- a/src/corelib/global/qlogging.cpp +++ b/src/corelib/global/qlogging.cpp @@ -219,6 +219,8 @@ static bool isFatal(QtMsgType msgType) return false; } +#ifndef Q_OS_WASM + /*! Returns true if writing to \c stderr is supported. @@ -230,8 +232,6 @@ static bool systemHasStderr() return true; } -#ifndef Q_OS_WASM - /*! Returns true if writing to \c stderr will end up in a console/terminal visible to the user.