From be8a76cffef8fccab777b8c3a1f7389f229b8e00 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Thu, 12 Sep 2013 14:23:52 -0700 Subject: 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 Reviewed-by: Olivier Goffart --- src/corelib/global/qcompilerdetection.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'src') 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 -- cgit v1.2.3