From a8867c885dffc48f0f176896aaa309eecb0b65cd Mon Sep 17 00:00:00 2001 From: Ged Murphy Date: Wed, 23 Sep 2015 20:12:44 +0000 Subject: [PATCH] [ATL] Try to fix gcc build (without having a local install of gcc...) svn path=/trunk/; revision=69333 --- reactos/lib/atl/atlcore.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/reactos/lib/atl/atlcore.h b/reactos/lib/atl/atlcore.h index f679568e80d..7961f3f4e98 100644 --- a/reactos/lib/atl/atlcore.h +++ b/reactos/lib/atl/atlcore.h @@ -219,15 +219,18 @@ extern CAtlBaseModule _AtlBaseModule; /// // String Resource helper functions // - +#ifdef _MSC_VER #pragma warning(push) #pragma warning(disable: 4200) +#endif struct ATLSTRINGRESOURCEIMAGE { WORD nLength; WCHAR achString[]; }; +#ifdef _MSC_VER #pragma warning(pop) +#endif inline const ATLSTRINGRESOURCEIMAGE* _AtlGetStringResourceImage( _In_ HINSTANCE hInstance,