Fix build for INTEGRITY
Change-Id: I2c41295688e962eb263f2180bebfd1dd37613804 Reviewed-by: Jake Petroules <jake.petroules@qt.io>
This commit is contained in:
parent
2f08a1d614
commit
01cade5050
@ -354,6 +354,7 @@
|
||||
# elif defined(__ghs)
|
||||
# define Q_CC_GHS
|
||||
# define Q_DECL_DEPRECATED __attribute__ ((__deprecated__))
|
||||
# define Q_PACKED __attribute__ ((__packed__))
|
||||
# define Q_FUNC_INFO __PRETTY_FUNCTION__
|
||||
# define Q_TYPEOF(expr) __typeof__(expr)
|
||||
# define Q_ALIGNOF(type) __alignof__(type)
|
||||
|
@ -206,7 +206,7 @@ QRegion QIntegrityFbScreen::doRedraw()
|
||||
(uint32_t)rects[i].width(),
|
||||
(uint32_t)rects[i].height()
|
||||
};
|
||||
mBlitter->drawImage(rects[i], *mScreenImage, rects[i]);
|
||||
mBlitter->drawImage(rects[i], mScreenImage, rects[i]);
|
||||
gh_FB_expose(mFbh, &fbrect, NULL);
|
||||
}
|
||||
return touched;
|
||||
|
@ -99,7 +99,9 @@
|
||||
#include <errno.h>
|
||||
#include <signal.h>
|
||||
#include <time.h>
|
||||
#include <sys/resource.h>
|
||||
# if !defined(Q_OS_INTEGRITY)
|
||||
# include <sys/resource.h>
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#if defined(Q_OS_MACX)
|
||||
@ -186,7 +188,7 @@ static void disableCoreDump()
|
||||
bool ok = false;
|
||||
const int disableCoreDump = qEnvironmentVariableIntValue("QTEST_DISABLE_CORE_DUMP", &ok);
|
||||
if (ok && disableCoreDump == 1) {
|
||||
#if defined(Q_OS_UNIX)
|
||||
#if defined(Q_OS_UNIX) && !defined(Q_OS_INTEGRITY)
|
||||
struct rlimit limit;
|
||||
limit.rlim_cur = 0;
|
||||
limit.rlim_max = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user