]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/winapi/test/compile/windows_h_pre.cpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / libs / winapi / test / compile / windows_h_pre.cpp
index 5ba2ab8ca8a2f5f28254dd40993b2b743c57345d..3b942608562edfbdbd5d6a4e1d93ae03def22033 100644 (file)
  * \brief  This file contains a test boilerplate for checking that every public header does not conflict with native windows.h pre-included.
  */
 
-// NOTE: Use Boost.Predef, the most fine graned header to detect Windows. This header should not include anything
-//       system- or STL-specific so that the check for Boost.WinAPI header self-sufficiency is not subverted.
-//       Boost.Config does not satisfy this requirement.
-#include <boost/predef/os/windows.h>
-
-#if BOOST_OS_WINDOWS
-
 #include <windows.h>
 
 #define BOOST_WINAPI_TEST_INCLUDE_HEADER() <boost/BOOST_WINAPI_TEST_HEADER>
 
 #include BOOST_WINAPI_TEST_INCLUDE_HEADER()
 
-#endif // BOOST_OS_WINDOWS
-
 int main(int, char*[])
 {
     return 0;