comparison DEPENDENCIES/generic/include/boost/detail/winapi/process.hpp @ 16:2665513ce2d3

Add boost headers
author Chris Cannam
date Tue, 05 Aug 2014 11:11:38 +0100
parents
children c530137014c0
comparison
equal deleted inserted replaced
15:663ca0da4350 16:2665513ce2d3
1 // process.hpp --------------------------------------------------------------//
2
3 // Copyright 2010 Vicente J. Botet Escriba
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_DETAIL_WINAPI_PROCESS_HPP
10 #define BOOST_DETAIL_WINAPI_PROCESS_HPP
11
12 #include <boost/detail/winapi/basic_types.hpp>
13 #include <boost/detail/winapi/GetCurrentProcess.hpp>
14
15 #ifdef BOOST_HAS_PRAGMA_ONCE
16 #pragma once
17 #endif
18
19 namespace boost {
20 namespace detail {
21 namespace winapi {
22 #if defined( BOOST_USE_WINDOWS_H )
23 using ::GetCurrentProcessId;
24 #else
25 # ifndef UNDER_CE
26 extern "C" {
27 __declspec(dllimport) unsigned long __stdcall
28 GetCurrentProcessId(void);
29 }
30 # else
31 using ::GetCurrentProcessId;
32 # endif
33 #endif
34 }
35 }
36 }
37 #endif // BOOST_DETAIL_WINAPI_PROCESS_HPP