X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ceph%2Fsrc%2Fboost%2Flibs%2Fbeast%2Ftest%2Fbeast%2Fcore.cpp;h=25b0b1c20e98c76518993db323204465553ccd26;hb=92f5a8d42d07f9929ae4fa7e01342fe8d96808a8;hp=3b8a22d804b4ef7e3d39a3f5f0903d8fb3b951f4;hpb=a0324939f9d0e1905d5df8f57442f09dc70af83d;p=ceph.git diff --git a/ceph/src/boost/libs/beast/test/beast/core.cpp b/ceph/src/boost/libs/beast/test/beast/core.cpp index 3b8a22d80..25b0b1c20 100644 --- a/ceph/src/boost/libs/beast/test/beast/core.cpp +++ b/ceph/src/boost/libs/beast/test/beast/core.cpp @@ -1,5 +1,5 @@ // -// Copyright (c) 2016-2017 Vinnie Falco (vinnie dot falco at gmail dot com) +// Copyright (c) 2016-2019 Vinnie Falco (vinnie dot falco at gmail dot com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) @@ -7,5 +7,12 @@ // Official repository: https://github.com/boostorg/beast // +// If including Windows.h generates errors, it +// means that min/max macros are being substituted. +#ifdef _MSC_VER +#define WIN32_LEAN_AND_MEAN +#include +#endif + // Test that header file is self-contained. #include