summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPasi Petäjäjärvi <pasi.petajajarvi@digia.com>2013-01-09 10:16:41 (GMT)
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-01-10 13:34:03 (GMT)
commit6ec12fb227f49efbea234861169f84feb98c2275 (patch)
treedb8c941b4db86b513892654bd4e42dfe5ff258c5
parent141482bb6eea76e361b0c6a64dd99551d43319f7 (diff)
downloadQt-6ec12fb227f49efbea234861169f84feb98c2275.zip
Qt-6ec12fb227f49efbea234861169f84feb98c2275.tar.gz
Qt-6ec12fb227f49efbea234861169f84feb98c2275.tar.bz2
Do not use getuid() and getgid() functions in VxWorks
VxWorks has no concepts of users and groups, therefore no such functions exists on VxWorks. Change-Id: I56e1c80ffd4e8d88ae41e3a0bb97df05c6a2f98f Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
-rw-r--r--src/gui/dialogs/qfileinfogatherer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/dialogs/qfileinfogatherer.cpp b/src/gui/dialogs/qfileinfogatherer.cpp
index 0eb3079..bd3b718 100644
--- a/src/gui/dialogs/qfileinfogatherer.cpp
+++ b/src/gui/dialogs/qfileinfogatherer.cpp
@@ -80,7 +80,7 @@ QFileInfoGatherer::QFileInfoGatherer(QObject *parent)
{
#ifdef Q_OS_WIN
m_resolveSymlinks = true;
-#elif !defined(Q_OS_INTEGRITY)
+#elif !defined(Q_OS_INTEGRITY) && !defined(Q_OS_VXWORKS)
userId = getuid();
groupId = getgid();
#endif