From bd95a353c621cb7dba2f0991e742ddbde0bb9a54 Mon Sep 17 00:00:00 2001 From: Martin Jones Date: Tue, 2 Feb 2010 07:51:45 +1000 Subject: Compile on machines without SCHED_IDLE --- src/declarative/util/qmlpixmapcache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/declarative/util/qmlpixmapcache.cpp b/src/declarative/util/qmlpixmapcache.cpp index c058408..331c0ce 100644 --- a/src/declarative/util/qmlpixmapcache.cpp +++ b/src/declarative/util/qmlpixmapcache.cpp @@ -201,7 +201,7 @@ void QmlImageReader::cancel(QmlPixmapReply *reply) void QmlImageReader::run() { -#ifdef Q_OS_LINUX +#if defined(Q_OS_LINUX) && defined(SCHED_IDLE) struct sched_param param; int policy; -- cgit v0.12