init_once.hpp 695 B

1234567891011121314151617181920212223242526
  1. /*
  2. * Copyright 2017 Andrey Semashev
  3. *
  4. * Distributed under the Boost Software License, Version 1.0.
  5. * See http://www.boost.org/LICENSE_1_0.txt
  6. *
  7. * This header is deprecated, use boost/winapi/init_once.hpp instead.
  8. */
  9. #ifndef BOOST_DETAIL_WINAPI_INIT_ONCE_HPP
  10. #define BOOST_DETAIL_WINAPI_INIT_ONCE_HPP
  11. #include <boost/config/header_deprecated.hpp>
  12. BOOST_HEADER_DEPRECATED("<boost/winapi/init_once.hpp>")
  13. #include <boost/winapi/init_once.hpp>
  14. #include <boost/detail/winapi/detail/deprecated_namespace.hpp>
  15. #ifdef BOOST_HAS_PRAGMA_ONCE
  16. #pragma once
  17. #endif
  18. #define BOOST_DETAIL_WINAPI_INIT_ONCE_STATIC_INIT BOOST_WINAPI_INIT_ONCE_STATIC_INIT
  19. #endif // BOOST_DETAIL_WINAPI_INIT_ONCE_HPP