tested_at_outdated.cpp 430 B

123456789101112131415161718
  1. /*
  2. Copyright Rene Rivera 2011-2017
  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. #include <boost/predef/version_number.h>
  8. #define BOOST_DETECT_OUTDATED_WORKAROUNDS
  9. #include <boost/predef/other/workaround.h>
  10. int main()
  11. {
  12. #if BOOST_PREDEF_TESTED_AT(BOOST_VERSION_NUMBER(2,0,0),1,0,0)
  13. return 1;
  14. #else
  15. return 0;
  16. #endif
  17. }