Commit f2ece241 authored by Stéphane Letz's avatar Stéphane Letz Committed by GitHub
Browse files

Merge pull request #234 from jcowgill/mips-unaligned

Don't pack structures on MIPS where unaligned access is not allowed
parents 364159f8 39e984c3
......@@ -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__ */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment