]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/winapi/include/boost/detail/winapi/get_current_thread.hpp
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / winapi / include / boost / detail / winapi / get_current_thread.hpp
CommitLineData
7c673cae
FG
1// get_current_thread.hpp --------------------------------------------------------------//
2
3// Copyright 2010 Vicente J. Botet Escriba
4// Copyright 2015 Andrey Semashev
5
6// Distributed under the Boost Software License, Version 1.0.
7// See http://www.boost.org/LICENSE_1_0.txt
8
9
10#ifndef BOOST_DETAIL_WINAPI_GET_CURRENT_THREAD_HPP
11#define BOOST_DETAIL_WINAPI_GET_CURRENT_THREAD_HPP
12
13#include <boost/detail/winapi/basic_types.hpp>
14
15#ifdef BOOST_HAS_PRAGMA_ONCE
16#pragma once
17#endif
18
19// Windows CE define GetCurrentThread as an inline function in kfuncs.h
20#if !defined( BOOST_USE_WINDOWS_H ) && !defined( UNDER_CE )
21extern "C" {
22BOOST_SYMBOL_IMPORT boost::detail::winapi::HANDLE_ WINAPI GetCurrentThread(BOOST_DETAIL_WINAPI_VOID);
23}
24#endif
25
26namespace boost {
27namespace detail {
28namespace winapi {
29using ::GetCurrentThread;
30}
31}
32}
33
34#endif // BOOST_DETAIL_WINAPI_GET_CURRENT_THREAD_HPP