2
0
mirror of https://github.com/boostorg/atomic.git synced 2026-02-02 08:22:08 +00:00

Added a workaround for missing max_align_t in gcc 4.7.

This commit is contained in:
Andrey Semashev
2020-03-01 20:29:54 +03:00
parent 5e88a03da1
commit f91557eeef

View File

@@ -134,7 +134,8 @@ struct storage_traits< 16u >
#else
#if __cplusplus >= 201103L || (defined(_MSVC_LANG) && _MSVC_LANG >= 201103L)
#if (__cplusplus >= 201103L || (defined(_MSVC_LANG) && _MSVC_LANG >= 201103L)) &&\
(!defined(BOOST_GCC_VERSION) || BOOST_GCC_VERSION >= 40800)
using std::max_align_t;
#else