remove redundant Q_NO_PACKED_REFERENCE definition

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
Ivailo Monev 2020-01-02 23:21:58 +00:00
parent 1015f09e96
commit 41e02a4153

View file

@ -288,7 +288,6 @@ QT_USE_NAMESPACE
# define Q_UNLIKELY(expr) __builtin_expect(!!(expr), false) # define Q_UNLIKELY(expr) __builtin_expect(!!(expr), false)
# if !defined(QT_MOC_CPP) # if !defined(QT_MOC_CPP)
# define Q_PACKED __attribute__ ((__packed__)) # define Q_PACKED __attribute__ ((__packed__))
# define Q_NO_PACKED_REFERENCE
# ifndef __ARM_EABI__ # ifndef __ARM_EABI__
# define QT_NO_ARM_EABI # define QT_NO_ARM_EABI
# endif # endif
@ -309,7 +308,6 @@ QT_USE_NAMESPACE
# define Q_UNLIKELY(expr) __builtin_expect(!!(expr), false) # define Q_UNLIKELY(expr) __builtin_expect(!!(expr), false)
# if !defined(QT_MOC_CPP) # if !defined(QT_MOC_CPP)
# define Q_PACKED __attribute__ ((__packed__)) # define Q_PACKED __attribute__ ((__packed__))
# define Q_NO_PACKED_REFERENCE
# endif # endif
#else #else
@ -425,7 +423,6 @@ QT_USE_NAMESPACE
#ifndef Q_PACKED #ifndef Q_PACKED
# define Q_PACKED # define Q_PACKED
# undef Q_NO_PACKED_REFERENCE
#endif #endif
#ifndef Q_CONSTRUCTOR_FUNCTION #ifndef Q_CONSTRUCTOR_FUNCTION