]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/system/test/std_interop_test.cpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / libs / system / test / std_interop_test.cpp
index 5e52c50db10d02f82426f2a419aab176bd7e9b5b..94845d176c76f5667b7146d0197c95e9276a6281 100644 (file)
 // Avoid spurious VC++ warnings
 # define _CRT_SECURE_NO_WARNINGS
 
+#include <boost/system/error_code.hpp>
 #include <boost/config.hpp>
+#include <boost/config/pragma_message.hpp>
 #include <iostream>
 
-#if defined(BOOST_NO_CXX11_HDR_SYSTEM_ERROR)
+#if !defined(BOOST_SYSTEM_HAS_SYSTEM_ERROR)
+
+BOOST_PRAGMA_MESSAGE( "BOOST_SYSTEM_HAS_SYSTEM_ERROR not defined, test will be skipped" )
 
 int main()
 {
@@ -25,7 +29,6 @@ int main()
 
 #else
 
-#include <boost/system/error_code.hpp>
 #include <boost/core/lightweight_test.hpp>
 #include <system_error>
 #include <cerrno>