Remove the empty definition of Q_PACKED
Structs defined with Q_PACKED *need* to be packed in all platforms. Having an empty define means errors might go unnoticed for a long time. Change-Id: I9c388358fed27a8e018465f05375e4bbbee3484c Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com> Reviewed-by: Olivier Goffart <ogoffart@woboq.com>bb10
parent
9cff511eb8
commit
be8a76cffe
|
|
@ -805,9 +805,6 @@
|
|||
#ifndef Q_NORETURN
|
||||
# define Q_NORETURN
|
||||
#endif
|
||||
#ifndef Q_PACKED
|
||||
# define Q_PACKED
|
||||
#endif
|
||||
#ifndef Q_LIKELY
|
||||
# define Q_LIKELY(x) (x)
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in New Issue