From 041678752bf455d7b2e19d75a667280972ad8057 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Mon, 17 Sep 2018 02:55:40 +0300 Subject: [PATCH] Revert deletion of BOOST_*_API check --- include/boost/system/error_code.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/boost/system/error_code.hpp b/include/boost/system/error_code.hpp index a859deb..7729049 100644 --- a/include/boost/system/error_code.hpp +++ b/include/boost/system/error_code.hpp @@ -27,6 +27,10 @@ # include #endif +#if !defined(BOOST_POSIX_API) && !defined(BOOST_WINDOWS_API) +# error BOOST_POSIX_API or BOOST_WINDOWS_API must be defined +#endif + namespace boost {