From 3095e5af76f957d48e05d22fd5ba1b63474cb801 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Mon, 12 Sep 2005 10:54:51 +0000 Subject: [PATCH] Fixed the binary layout gcc hacks to do the right thing for gcc 4.0. --- include/shlobj.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/shlobj.h b/include/shlobj.h index 16e62278f81..22356c5ff1b 100644 --- a/include/shlobj.h +++ b/include/shlobj.h @@ -606,7 +606,7 @@ typedef struct BOOL fShowSuperHidden : 1; BOOL fNoNetCrawling : 1; - DWORD :0; /* Required for proper binary layout with gcc */ + UINT :15; /* Required for proper binary layout with gcc */ DWORD dwWin95Unused; UINT uWin95Unused; LONG lParamSort; @@ -617,7 +617,7 @@ typedef struct BOOL fStartPanelOn: 1; BOOL fShowStartPage: 1; UINT fSpareFlags : 13; - UINT :0; /* Required for proper binary layout with gcc */ + UINT :15; /* Required for proper binary layout with gcc */ } SHELLSTATE, *LPSHELLSTATE; /********************************************************************** @@ -641,7 +641,7 @@ typedef struct BOOL fHideIcons : 1; UINT fRestFlags : 3; - UINT :0; /* Required for proper binary layout with gcc */ + UINT :15; /* Required for proper binary layout with gcc */ } SHELLFLAGSTATE, * LPSHELLFLAGSTATE; VOID WINAPI SHGetSettings(LPSHELLFLAGSTATE lpsfs, DWORD dwMask); @@ -1156,7 +1156,7 @@ typedef struct { BOOL fDontPrettyNames:1; BOOL fAdminsCreateCommonGroups:1; UINT fUnusedFlags:7; - UINT :0; /* Required for proper binary layout with gcc */ + UINT :15; /* Required for proper binary layout with gcc */ UINT fMenuEnumFilter; } CABINETSTATE, *LPCABINETSTATE;