diff options
author | Tobias Hunger <tobias.hunger@qt.io> | 2019-09-23 14:23:26 +0200 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@qt.io> | 2019-10-01 12:49:19 +0200 |
commit | 009d86da2d5a928865819fe44b4d1c78d455bbb9 (patch) | |
tree | 6699cfcb4b1af1092bd94ee4fbd8a57f67848e03 /src/corelib/mimetypes | |
parent | ace9c7853c9f448953ccb487d95a1a76338c1b9d (diff) |
Use same condition for QT_USE_MMAP as in qresource.cpp
Consistently use the same condition to decide whether or not to
set QT_USE_MMAP.
Change-Id: Ica83d40c8051a8957d875334b821037b25fa8677
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/mimetypes')
-rw-r--r-- | src/corelib/mimetypes/qmimedatabase.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/mimetypes/qmimedatabase.cpp b/src/corelib/mimetypes/qmimedatabase.cpp index 24a7a35ea5..ce84a15831 100644 --- a/src/corelib/mimetypes/qmimedatabase.cpp +++ b/src/corelib/mimetypes/qmimedatabase.cpp @@ -91,8 +91,8 @@ bool QMimeDatabasePrivate::shouldCheck() return true; } -#if defined(Q_OS_UNIX) && !defined(Q_OS_INTEGRITY) -#define QT_USE_MMAP +#if defined(Q_OS_UNIX) && !defined(Q_OS_NACL) && !defined(Q_OS_INTEGRITY) +# define QT_USE_MMAP #endif void QMimeDatabasePrivate::loadProviders() |