Commit de06c511ff3dc672f5f4e7884683893a92712c99
1 parent
bc7712a4
win32 qcow fix
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1177 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
2 changed files
with
1 additions
and
4 deletions
Makefile
| @@ -4,9 +4,6 @@ CFLAGS=-Wall -O2 -g -fno-strict-aliasing | @@ -4,9 +4,6 @@ CFLAGS=-Wall -O2 -g -fno-strict-aliasing | ||
| 4 | ifdef CONFIG_DARWIN | 4 | ifdef CONFIG_DARWIN |
| 5 | CFLAGS+= -mdynamic-no-pic | 5 | CFLAGS+= -mdynamic-no-pic |
| 6 | endif | 6 | endif |
| 7 | -ifdef CONFIG_WIN32 | ||
| 8 | -CFLAGS+=-fpack-struct | ||
| 9 | -endif | ||
| 10 | LDFLAGS=-g | 7 | LDFLAGS=-g |
| 11 | LIBS= | 8 | LIBS= |
| 12 | DEFINES+=-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE | 9 | DEFINES+=-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE |
a.out.h
| @@ -151,7 +151,7 @@ struct external_lineno { | @@ -151,7 +151,7 @@ struct external_lineno { | ||
| 151 | #define E_FILNMLEN 14 /* # characters in a file name */ | 151 | #define E_FILNMLEN 14 /* # characters in a file name */ |
| 152 | #define E_DIMNUM 4 /* # array dimensions in auxiliary entry */ | 152 | #define E_DIMNUM 4 /* # array dimensions in auxiliary entry */ |
| 153 | 153 | ||
| 154 | -struct external_syment | 154 | +struct __attribute__((packed)) external_syment |
| 155 | { | 155 | { |
| 156 | union { | 156 | union { |
| 157 | char e_name[E_SYMNMLEN]; | 157 | char e_name[E_SYMNMLEN]; |