diff options
| author | Marcin Zdunek <marcin.zdunek@siili.com> | 2023-07-25 13:18:42 +0200 |
|---|---|---|
| committer | Marcin Zdunek <marcin.zdunek@siili.com> | 2023-09-12 02:07:04 +0000 |
| commit | 185627557e15746a1d8bccbc4ad48e7855dcb1a4 (patch) | |
| tree | 4f5427fdfab3a4de42d34fb8ca1fb9ec3e6c9e20 | |
| parent | 8c468fc2ab3bdfb4f49eb9db10db0fb805d64180 (diff) | |
Fix undeclared identifier 'geteuid' for VxWorks
Task-number: QTBUG-115777
Change-Id: Ic95d5f92af185ac64b14ae6fafd4ffe507911f5b
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
| -rw-r--r-- | tests/auto/corelib/io/qsavefile/tst_qsavefile.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/corelib/io/qsavefile/tst_qsavefile.cpp b/tests/auto/corelib/io/qsavefile/tst_qsavefile.cpp index 6879534144a..2afc7a1daee 100644 --- a/tests/auto/corelib/io/qsavefile/tst_qsavefile.cpp +++ b/tests/auto/corelib/io/qsavefile/tst_qsavefile.cpp @@ -10,7 +10,7 @@ #include <qdir.h> #include <qset.h> -#if defined(Q_OS_UNIX) && !defined(Q_OS_VXWORKS) +#if defined(Q_OS_UNIX) #include <unistd.h> // for geteuid #endif @@ -120,7 +120,7 @@ void tst_QSaveFile::retryTransactionalWrite() // root can open the read-only file for writing... if (geteuid() == 0) QSKIP("This test does not work as the root user"); -#endif +#endif //Q_OS_UNIX QTemporaryDir dir; QVERIFY2(dir.isValid(), qPrintable(dir.errorString())); |
