diff --git a/Subtrees/beast/modules/beast_asio/system/beast_BoostIncludes.h b/Subtrees/beast/modules/beast_asio/system/beast_BoostIncludes.h index 917139a7d..a3a48406f 100644 --- a/Subtrees/beast/modules/beast_asio/system/beast_BoostIncludes.h +++ b/Subtrees/beast/modules/beast_asio/system/beast_BoostIncludes.h @@ -50,12 +50,16 @@ // Configure some options based on the version of boost #include #if (BOOST_VERSION / 100) >= 1054 -# define BEAST_ASIO_HAS_BUFFEREDHANDSHAKE 1 +# ifndef BEAST_ASIO_HAS_BUFFEREDHANDSHAKE +# define BEAST_ASIO_HAS_BUFFEREDHANDSHAKE 1 +# endif # ifndef BEAST_ASIO_HAS_FUTURE_RETURNS # define BEAST_ASIO_HAS_FUTURE_RETURNS 1 # endif #else -# define BEAST_ASIO_HAS_BUFFEREDHANDSHAKE 0 +# ifndef BEAST_ASIO_HAS_BUFFEREDHANDSHAKE +# define BEAST_ASIO_HAS_BUFFEREDHANDSHAKE 0 +# endif # ifndef BEAST_ASIO_HAS_FUTURE_RETURNS # define BEAST_ASIO_HAS_FUTURE_RETURNS 0 # endif