summaryrefslogtreecommitdiffstats
path: root/loader/wine/module.h
diff options
context:
space:
mode:
authorvoroshil <voroshil@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-09-10 18:07:25 +0000
committervoroshil <voroshil@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-09-10 18:07:25 +0000
commit169a837b180004c0a8aee0ed365c1fb06f4e1a48 (patch)
treedf7b57867e890719042975af128f3d39677761d5 /loader/wine/module.h
parentdcc2e2e5ea5a3a8b055d43f859a0b6bfdcbfe31a (diff)
downloadmpv-169a837b180004c0a8aee0ed365c1fb06f4e1a48.tar.bz2
mpv-169a837b180004c0a8aee0ed365c1fb06f4e1a48.tar.xz
Fix for a lot of
"'packed' attribute ignored for field of type 'BYTE'" warnings. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24424 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'loader/wine/module.h')
-rw-r--r--loader/wine/module.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/loader/wine/module.h b/loader/wine/module.h
index 6f6b31a0a7..4fac90671e 100644
--- a/loader/wine/module.h
+++ b/loader/wine/module.h
@@ -11,11 +11,11 @@
#include "pe_image.h"
-typedef struct {
+typedef struct WINE_PACKED {
BYTE type;
BYTE flags;
BYTE segnum;
- WORD offs WINE_PACKED;
+ WORD offs;
} ET_ENTRY;
typedef struct {
@@ -57,12 +57,12 @@ typedef struct
} SELFLOADHEADER;
/* Parameters for LoadModule() */
-typedef struct
+typedef struct WINE_PACKED
{
HGLOBAL16 hEnvironment; /* Environment segment */
- SEGPTR cmdLine WINE_PACKED; /* Command-line */
- SEGPTR showCmd WINE_PACKED; /* Code for ShowWindow() */
- SEGPTR reserved WINE_PACKED;
+ SEGPTR cmdLine; /* Command-line */
+ SEGPTR showCmd; /* Code for ShowWindow() */
+ SEGPTR reserved;
} LOADPARAMS16;
typedef struct