From 09681d46f4cd17b2e78c93ff7da9e030f0ce6e0e 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 Pick-to: 6.8 Change-Id: Ifae799d62668382c93ef85826b397f4a9d3e4199 Reviewed-by: Thiago Macieira --- 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 998eafcbbbc..8bdf7c7b6ff 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.