boost_has_detect_mismatch.ipp 605 B

12345678910111213141516171819202122232425
  1. // (C) Copyright John Maddock 2018.
  2. // Use, modification and distribution are subject to the
  3. // Boost Software License, Version 1.0. (See accompanying file
  4. // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  5. // See http://www.boost.org/libs/config for most recent version.
  6. // MACRO: BOOST_HAS_PRAGMA_DETECT_MISMATCH
  7. // TITLE: detect_mismatch pragma
  8. // DESCRIPTION: The compiler supports #pragma detect_mismatch
  9. #include <cstdlib>
  10. namespace boost_has_pragma_detect_mismatch {
  11. # pragma detect_mismatch("Boost_Config", "1")
  12. int test()
  13. {
  14. return 0;
  15. }
  16. }