From 6ec12fb227f49efbea234861169f84feb98c2275 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pasi=20Pet=C3=A4j=C3=A4j=C3=A4rvi?= Date: Wed, 9 Jan 2013 12:16:41 +0200 Subject: Do not use getuid() and getgid() functions in VxWorks MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit VxWorks has no concepts of users and groups, therefore no such functions exists on VxWorks. Change-Id: I56e1c80ffd4e8d88ae41e3a0bb97df05c6a2f98f Reviewed-by: Samuel Rødal --- src/gui/dialogs/qfileinfogatherer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v0.12