mirror of
https://github.com/boostorg/config.git
synced 2026-04-28 18:13:33 +02:00
Added BOOST_NO_CXX11_ALIGNAS, BOOST_ALIGNMENT and BOOST_NO_ALIGNMENT macros.
[SVN r84794]
This commit is contained in:
@@ -102,6 +102,11 @@ namespace boost_no_cwchar = empty_boost;
|
||||
#else
|
||||
namespace boost_no_cwctype = empty_boost;
|
||||
#endif
|
||||
#ifndef BOOST_NO_CXX11_ALIGNAS
|
||||
#include "boost_no_cxx11_alignas.ipp"
|
||||
#else
|
||||
namespace boost_no_cxx11_alignas = empty_boost;
|
||||
#endif
|
||||
#ifndef BOOST_NO_CXX11_ALLOCATOR
|
||||
#include "boost_no_cxx11_allocator.ipp"
|
||||
#else
|
||||
@@ -1231,6 +1236,11 @@ int main( int, char *[] )
|
||||
std::cerr << "Failed test for BOOST_NO_CWCTYPE at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||
++error_count;
|
||||
}
|
||||
if(0 != boost_no_cxx11_alignas::test())
|
||||
{
|
||||
std::cerr << "Failed test for BOOST_NO_CXX11_ALIGNAS at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||
++error_count;
|
||||
}
|
||||
if(0 != boost_no_cxx11_allocator::test())
|
||||
{
|
||||
std::cerr << "Failed test for BOOST_NO_CXX11_ALLOCATOR at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||
|
||||
Reference in New Issue
Block a user