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,