aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-12-19 20:57:26 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-12-19 20:57:26 +0000
commitde06c511ff3dc672f5f4e7884683893a92712c99 (patch)
treed9dd77a39e65226539850dd0a1a10a5176642c47
parentbc7712a4acd046561aa3a8699640c8d1ff7c8946 (diff)
win32 qcow fix
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1177 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r--Makefile3
-rw-r--r--a.out.h2
2 files changed, 1 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index c431acd18f..3659819fbe 100644
--- a/Makefile
+++ b/Makefile
@@ -4,9 +4,6 @@ CFLAGS=-Wall -O2 -g -fno-strict-aliasing
ifdef CONFIG_DARWIN
CFLAGS+= -mdynamic-no-pic
endif
-ifdef CONFIG_WIN32
-CFLAGS+=-fpack-struct
-endif
LDFLAGS=-g
LIBS=
DEFINES+=-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
diff --git a/a.out.h b/a.out.h
index 500e14f3fc..1f978c1c04 100644
--- a/a.out.h
+++ b/a.out.h
@@ -151,7 +151,7 @@ struct external_lineno {
#define E_FILNMLEN 14 /* # characters in a file name */
#define E_DIMNUM 4 /* # array dimensions in auxiliary entry */
-struct external_syment
+struct __attribute__((packed)) external_syment
{
union {
char e_name[E_SYMNMLEN];