limits_abi.cpp 703 B

1234567891011121314151617181920212223242526272829
  1. /*
  2. * Copyright Andrey Semashev 2018.
  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 limits_abi.cpp
  9. * \author Andrey Semashev
  10. * \date 10.03.2018
  11. *
  12. * \brief This file contains ABI test for limits.hpp
  13. */
  14. #include <boost/winapi/limits.hpp>
  15. #include <windows.h>
  16. #include "abi_test_tools.hpp"
  17. int main()
  18. {
  19. BOOST_WINAPI_TEST_CONSTANT(MAX_PATH);
  20. #if !defined(BOOST_WINAPI_IS_MINGW)
  21. BOOST_WINAPI_TEST_CONSTANT(UNICODE_STRING_MAX_BYTES);
  22. BOOST_WINAPI_TEST_CONSTANT(UNICODE_STRING_MAX_CHARS);
  23. #endif
  24. return boost::report_errors();
  25. }