QDBusMetaType: #if -> #ifdef QT_BOOTSTRAPPED
The rest of the code uses #ifdef/#ifndef, so do so here, too. Change-Id: I4811755f9a1c2a1cab371e3bea78d3c5f9af086e Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
210f762f7d
commit
5254ac1f31
@ -145,7 +145,7 @@ void QDBusMetaTypeId::init()
|
||||
qDBusRegisterMetaType<QList<QDBusUnixFileDescriptor> >();
|
||||
#endif
|
||||
|
||||
#if QT_BOOTSTRAPPED
|
||||
#ifdef QT_BOOTSTRAPPED
|
||||
const int lastId = qDBusRegisterMetaType<QList<QDBusUnixFileDescriptor> >();
|
||||
message = lastId + 1;
|
||||
error = lastId + 2;
|
||||
|
Loading…
Reference in New Issue
Block a user