mirror of https://github.com/google/snappy.git
Unbreak the open-source build for ARM due to missing ATTRIBUTE_PACKED
declaration.
This commit is contained in:
parent
7525a1600d
commit
e7d2818d1e
|
@ -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 {
|
||||
|
||||
|
|
Loading…
Reference in New Issue