1 /* 2 * Copyright Andrey Semashev 2019. 3 * Distributed under the Boost Software License, Version 1.0. 4 * (See accompanying file LICENSE_1_0.txt or copy at 5 * http://www.boost.org/LICENSE_1_0.txt) 6 */ 7 /*! 8 * \file self_contained_header.cpp 9 * \author Andrey Semashev 10 * \date 2019-01-19 11 * 12 * \brief This file contains a test boilerplate for checking that every public header is self-contained and does not have any missing #includes. 13 */ 14 15 #if defined(BOOST_THREAD_TEST_POST_WINDOWS_H) 16 #include <windows.h> 17 #endif 18 19 #define BOOST_THREAD_TEST_INCLUDE_HEADER() <boost/thread/BOOST_THREAD_TEST_HEADER> 20 21 #include BOOST_THREAD_TEST_INCLUDE_HEADER() 22 main(int,char * [])23int main(int, char*[]) 24 { 25 return 0; 26 } 27