Packed definition: workaround for mingw + gcc 4.7
authorH. Peter Anvin <hpa@linux.intel.com>
Mon, 22 Oct 2012 20:42:31 +0000 (13:42 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Mon, 22 Oct 2012 20:42:31 +0000 (13:42 -0700)
commit99f5441baa76a44680bf96a2fc01637f64fe3ff5
tree02b0f68d523785b9d0764bcd945400fb5c76202f
parentadeae7c9c7079aacb6b36467b81c22eb8b17f002
Packed definition: workaround for mingw + gcc 4.7

__attribute__((packed)) does the wrong thing when in ms-struct
mode; this breaks compiling on mingw-w64.  Therefore force gcc struct
mode when we use packed.

This obsoletes checkin

  7d9ee65 win: Add -mno-ms-bitfields

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
libinstaller/syslxint.h