diff options
author | Pasi Petäjäjärvi <pasi.petajajarvi@digia.com> | 2013-01-09 10:16:41 (GMT) |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-01-10 13:34:03 (GMT) |
commit | 6ec12fb227f49efbea234861169f84feb98c2275 (patch) | |
tree | db8c941b4db86b513892654bd4e42dfe5ff258c5 /src/gui/dialogs | |
parent | 141482bb6eea76e361b0c6a64dd99551d43319f7 (diff) | |
download | Qt-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>
Diffstat (limited to 'src/gui/dialogs')
-rw-r--r-- | src/gui/dialogs/qfileinfogatherer.cpp | 2 |
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 |