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