diff options
Diffstat (limited to 'boost/detail/winapi/system.hpp')
-rw-r--r-- | boost/detail/winapi/system.hpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/boost/detail/winapi/system.hpp b/boost/detail/winapi/system.hpp index 93a5eeb11c..bdfff662f8 100644 --- a/boost/detail/winapi/system.hpp +++ b/boost/detail/winapi/system.hpp @@ -17,6 +17,12 @@ #pragma once #endif +#if defined(BOOST_MSVC) +#pragma warning(push) +// nonstandard extension used : nameless struct/union +#pragma warning(disable: 4201) +#endif + #if !defined( BOOST_USE_WINDOWS_H ) extern "C" { struct _SYSTEM_INFO; @@ -70,4 +76,8 @@ BOOST_FORCEINLINE VOID_ GetNativeSystemInfo(LPSYSTEM_INFO_ lpSystemInfo) } } +#if defined(BOOST_MSVC) +#pragma warning(pop) +#endif + #endif // BOOST_DETAIL_WINAPI_SYSTEM_HPP |