Don't pack structures on MIPS where unaligned access is not allowed
This commit is contained in:
parent
637d69b29b
commit
21273bc5e2
|
@ -120,7 +120,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|||
|
||||
#endif /* __APPLE__ || __linux__ || __sun__ || sun */
|
||||
|
||||
#if defined(__arm__) || defined(__aarch64__) || defined(__ppc__) || defined(__powerpc__)
|
||||
#if defined(__arm__) || defined(__aarch64__) || defined(__mips__) || defined(__ppc__) || defined(__powerpc__)
|
||||
#undef POST_PACKED_STRUCTURE
|
||||
#define POST_PACKED_STRUCTURE
|
||||
#endif /* __arm__ || __aarch64__ || __ppc__ || __powerpc__ */
|
||||
|
|
Loading…
Reference in New Issue