win32 qcow fix
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1177 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
bc7712a4ac
commit
de06c511ff
3
Makefile
3
Makefile
@ -4,9 +4,6 @@ CFLAGS=-Wall -O2 -g -fno-strict-aliasing
|
|||||||
ifdef CONFIG_DARWIN
|
ifdef CONFIG_DARWIN
|
||||||
CFLAGS+= -mdynamic-no-pic
|
CFLAGS+= -mdynamic-no-pic
|
||||||
endif
|
endif
|
||||||
ifdef CONFIG_WIN32
|
|
||||||
CFLAGS+=-fpack-struct
|
|
||||||
endif
|
|
||||||
LDFLAGS=-g
|
LDFLAGS=-g
|
||||||
LIBS=
|
LIBS=
|
||||||
DEFINES+=-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
|
DEFINES+=-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
|
||||||
|
2
a.out.h
2
a.out.h
@ -151,7 +151,7 @@ struct external_lineno {
|
|||||||
#define E_FILNMLEN 14 /* # characters in a file name */
|
#define E_FILNMLEN 14 /* # characters in a file name */
|
||||||
#define E_DIMNUM 4 /* # array dimensions in auxiliary entry */
|
#define E_DIMNUM 4 /* # array dimensions in auxiliary entry */
|
||||||
|
|
||||||
struct external_syment
|
struct __attribute__((packed)) external_syment
|
||||||
{
|
{
|
||||||
union {
|
union {
|
||||||
char e_name[E_SYMNMLEN];
|
char e_name[E_SYMNMLEN];
|
||||||
|
Loading…
Reference in New Issue
Block a user