diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2013-09-12 14:23:52 -0700 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-09-13 11:47:06 +0200 |
commit | be8a76cffef8fccab777b8c3a1f7389f229b8e00 (patch) | |
tree | ecd401da4839ca6c049347ef3657b497428ffac7 | |
parent | 9cff511eb8d60a4e36b59ada42cf1e0ed8f0f786 (diff) |
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>
-rw-r--r-- | src/corelib/global/qcompilerdetection.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/corelib/global/qcompilerdetection.h b/src/corelib/global/qcompilerdetection.h index 73bf136123..ffd25ed07d 100644 --- a/src/corelib/global/qcompilerdetection.h +++ b/src/corelib/global/qcompilerdetection.h @@ -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 |