From be36b6356ad718f9618012f25f8f26361c69bdcb Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Tue, 6 Dec 2022 07:39:30 +0100 Subject: [PATCH] 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 --- src/corelib/global/qglobal.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/corelib/global/qglobal.h b/src/corelib/global/qglobal.h index fe3403fc60..3a9d40a068 100644 --- a/src/corelib/global/qglobal.h +++ b/src/corelib/global/qglobal.h @@ -39,7 +39,6 @@ #include -#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 #endif /* __cplusplus */ -#endif /* !__ASSEMBLER__ */ #endif /* QGLOBAL_H */