srw_lock.hpp 685 B

123456789101112131415161718192021222324252627
  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/srw_lock.hpp instead.
  8. */
  9. #ifndef BOOST_DETAIL_WINAPI_SRW_LOCK_HPP
  10. #define BOOST_DETAIL_WINAPI_SRW_LOCK_HPP
  11. #include <boost/config/header_deprecated.hpp>
  12. BOOST_HEADER_DEPRECATED("<boost/winapi/srw_lock.hpp>")
  13. #include <boost/winapi/srw_lock.hpp>
  14. #include <boost/detail/winapi/detail/deprecated_namespace.hpp>
  15. #ifdef BOOST_HAS_PRAGMA_ONCE
  16. #pragma once
  17. #endif
  18. // Deprecated
  19. #define BOOST_DETAIL_WINAPI_SRWLOCK_INIT BOOST_WINAPI_SRWLOCK_INIT
  20. #endif // BOOST_DETAIL_WINAPI_SRW_LOCK_HPP