Unbreak the open-source build for ARM due to missing ATTRIBUTE_PACKED

declaration.
This commit is contained in:
Steinar H. Gunderson 2016-01-08 11:40:06 +01:00
parent 7525a1600d
commit e7d2818d1e
1 changed files with 6 additions and 0 deletions

View File

@ -140,6 +140,12 @@ static const int64 kint64max = static_cast<int64>(0x7FFFFFFFFFFFFFFFLL);
!defined(__ARM_ARCH_6ZK__) && \
!defined(__ARM_ARCH_6T2__)
#if __GNUC__
#define ATTRIBUTE_PACKED __attribute__((__packed__))
#else
#define ATTRIBUTE_PACKED
#endif
namespace base {
namespace internal {