Pack required boost code together.
[xy_vsfilter.git] / src / thirdparty / boost_1_47_0 / boost / detail / win / process.hpp
blob76e85fd465c7863cadb8e4ae356e446ccb1510b2
1 // process.hpp --------------------------------------------------------------//
3 // Copyright 2010 Vicente J. Botet Escriba
5 // Distributed under the Boost Software License, Version 1.0.
6 // See http://www.boost.org/LICENSE_1_0.txt
9 #ifndef BOOST_DETAIL_WIN_PROCESS_HPP
10 #define BOOST_DETAIL_WIN_PROCESS_HPP
12 #include <boost/detail/win/basic_types.hpp>
13 #include <boost/detail/win/GetCurrentProcess.hpp>
15 namespace boost {
16 namespace detail {
17 namespace win32 {
18 #if defined( BOOST_USE_WINDOWS_H )
19 using ::GetCurrentProcessId;
20 #else
21 # ifndef UNDER_CE
22 extern "C" {
23 __declspec(dllimport) unsigned long __stdcall
24 GetCurrentProcessId(void);
26 # else
27 using ::GetCurrentProcessId;
28 # endif
29 #endif
33 #endif // BOOST_DETAIL_WIN_PROCESS_HPP