Mercurial > mplayer.hg
diff loader/wine/module.h @ 24406:a422b6c96368
Revert r24424.
Fix is wrong, because 'packed' attribute can be placed before
structure definition only when all members have this attribute.
author | voroshil |
---|---|
date | Mon, 10 Sep 2007 18:55:52 +0000 |
parents | 67e6bb7dcac4 |
children | c98c9e7f3bd0 |
line wrap: on
line diff
--- a/loader/wine/module.h Mon Sep 10 18:27:45 2007 +0000 +++ b/loader/wine/module.h Mon Sep 10 18:55:52 2007 +0000 @@ -11,11 +11,11 @@ #include "pe_image.h" -typedef struct WINE_PACKED { +typedef struct { BYTE type; BYTE flags; BYTE segnum; - WORD offs; + WORD offs WINE_PACKED; } ET_ENTRY; typedef struct { @@ -57,12 +57,12 @@ } SELFLOADHEADER; /* Parameters for LoadModule() */ -typedef struct WINE_PACKED +typedef struct { HGLOBAL16 hEnvironment; /* Environment segment */ - SEGPTR cmdLine; /* Command-line */ - SEGPTR showCmd; /* Code for ShowWindow() */ - SEGPTR reserved; + SEGPTR cmdLine WINE_PACKED; /* Command-line */ + SEGPTR showCmd WINE_PACKED; /* Code for ShowWindow() */ + SEGPTR reserved WINE_PACKED; } LOADPARAMS16; typedef struct