diff options
Diffstat (limited to 'src/corelib/io/qfilesystemengine_unix.cpp')
-rw-r--r-- | src/corelib/io/qfilesystemengine_unix.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/corelib/io/qfilesystemengine_unix.cpp b/src/corelib/io/qfilesystemengine_unix.cpp index 5561ecbb6d..71a7fc7d42 100644 --- a/src/corelib/io/qfilesystemengine_unix.cpp +++ b/src/corelib/io/qfilesystemengine_unix.cpp @@ -859,10 +859,10 @@ QString QFileSystemEngine::resolveUserName(uint userId) size_max = 1024; QVarLengthArray<char, 1024> buf(size_max); #endif -#ifdef Q_OS_HTML5 +#ifdef Q_OS_WASM Q_UNUSED(userId) #endif -#if !defined(Q_OS_INTEGRITY) && !defined(Q_OS_HTML5) +#if !defined(Q_OS_INTEGRITY) && !defined(Q_OS_WASM) struct passwd *pw = 0; #if !defined(QT_NO_THREAD) && defined(_POSIX_THREAD_SAFE_FUNCTIONS) && !defined(Q_OS_OPENBSD) && !defined(Q_OS_VXWORKS) struct passwd entry; @@ -885,10 +885,10 @@ QString QFileSystemEngine::resolveGroupName(uint groupId) size_max = 1024; QVarLengthArray<char, 1024> buf(size_max); #endif -#ifdef Q_OS_HTML5 +#ifdef Q_OS_WASM Q_UNUSED(groupId) #endif -#if !defined(Q_OS_INTEGRITY) && !defined(Q_OS_HTML5) +#if !defined(Q_OS_INTEGRITY) && !defined(Q_OS_WASM) struct group *gr = 0; #if !defined(QT_NO_THREAD) && defined(_POSIX_THREAD_SAFE_FUNCTIONS) && !defined(Q_OS_OPENBSD) && !defined(Q_OS_VXWORKS) && (!defined(Q_OS_ANDROID) || defined(Q_OS_ANDROID) && (__ANDROID_API__ >= 24)) size_max = sysconf(_SC_GETGR_R_SIZE_MAX); |