lib_x.hpp 904 B

123456789101112131415161718192021222324252627282930
  1. #ifndef BOOST_CONTRACT_TEST_LIB_X_HPP_
  2. #define BOOST_CONTRACT_TEST_LIB_X_HPP_
  3. // Copyright (C) 2008-2018 Lorenzo Caminiti
  4. // Distributed under the Boost Software License, Version 1.0 (see accompanying
  5. // file LICENSE_1_0.txt or a copy at http://www.boost.org/LICENSE_1_0.txt).
  6. // See: http://www.boost.org/doc/libs/release/libs/contract/doc/html/index.html
  7. #include <boost/config.hpp>
  8. #include <string>
  9. #ifdef BOOST_CONTRACT_TEST_LIB_X_DYN_LINK
  10. #ifdef BOOST_CONTRACT_TEST_LIB_X_SOURCE
  11. #define BOOST_CONTRACT_TEST_LIB_X_DECLSPEC BOOST_SYMBOL_EXPORT
  12. #else
  13. #define BOOST_CONTRACT_TEST_LIB_X_DECLSPEC BOOST_SYMBOL_IMPORT
  14. #endif
  15. #else
  16. #define BOOST_CONTRACT_TEST_LIB_X_DECLSPEC /* nothing */
  17. #endif
  18. #define BOOST_CONTRACT_TEST_DETAIL_OUT_DECLSPEC \
  19. BOOST_CONTRACT_TEST_LIB_X_DECLSPEC
  20. #include "../detail/out.hpp"
  21. void BOOST_CONTRACT_TEST_LIB_X_DECLSPEC x();
  22. #endif