qglobal.h: remove __ASSEMBLER__ check

__ASSEMBLER__ and __cplusplus cannot both be defined at the same time,
so it suffices to check just one of them. Thanks to Thiago for
noticing.

Change-Id: I92e43d1a1c551ee48c51490b2878bb0c84bfb36f
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
Marc Mutz 2022-12-06 07:39:30 +01:00
parent e4851fedd4
commit be36b6356a

View File

@ -39,7 +39,6 @@
#include <QtCore/qtversion.h>
#ifndef __ASSEMBLER__
#if defined(__cplusplus)
// We need to keep QTypeInfo, QSysInfo, QFlags, qDebug & family in qglobal.h for compatibility with Qt 4.
@ -70,6 +69,5 @@
#include <QtCore/qversiontagging.h>
#endif /* __cplusplus */
#endif /* !__ASSEMBLER__ */
#endif /* QGLOBAL_H */