Remove uses of BOOST_SYSTEM_HAS_SYSTEM_ERROR

This commit is contained in:
Peter Dimov
2024-01-17 06:49:19 +02:00
parent 80e019069c
commit 3ded81eed0
33 changed files with 16 additions and 357 deletions

View File

@@ -4,17 +4,8 @@
#include <boost/system/error_code.hpp>
#include <boost/core/lightweight_test.hpp>
#include <boost/config/pragma_message.hpp>
#include <boost/config.hpp>
#include <cerrno>
#if !defined(BOOST_SYSTEM_HAS_SYSTEM_ERROR)
BOOST_PRAGMA_MESSAGE( "BOOST_SYSTEM_HAS_SYSTEM_ERROR not defined, test will be skipped" )
int main() {}
#else
#include <system_error>
int main()
@@ -48,5 +39,3 @@ int main()
return boost::report_errors();
}
#endif