Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix packed structures with mingw gcc >= 4.7
As of gcc 4.7, structures are packed in a "MS compatible" format by default. If you want the correct behavior, you must add -mno-ms-bitfields to CFLAGS :-\ Original patch provided by John Stebbins <stebbins AT jetheaddev DOT com>. This patch implemented an idea that was put forward by Mike Frysinger <vapier AT gentoo DOT org>. Thanks to both!
- Loading branch information