2
0
mirror of https://github.com/boostorg/process.git synced 2026-01-19 04:22:15 +00:00

fixed for v2 namespace inlining.

This commit is contained in:
Klemens Morgenstern
2024-12-20 11:25:43 +08:00
committed by Klemens Morgenstern
parent 3fd8b2608c
commit 298b60caca

View File

@@ -72,7 +72,7 @@ BOOST_PROCESS_V2_END_NAMESPACE
#endif
#if BOOST_PROCESS_VERSION == 2
#if BOOST_PROCESS_VERSION == 1
#define BOOST_PROCESS_V2_BEGIN_NAMESPACE namespace boost { namespace process { namespace v2 {
#else
#define BOOST_PROCESS_V2_BEGIN_NAMESPACE namespace boost { namespace process { inline namespace v2 {
@@ -179,11 +179,4 @@ BOOST_PROCESS_V2_END_NAMESPACE
#define BOOST_PROCESS_V2_HAS_PROCESS_HANDLE 1
#endif
#if BOOST_PROCESS_VERSION == 2
#define BOOST_PROCESS_V2_INLINE inline
#else
#define BOOST_PROCESS_V2_INLINE
#endif
#endif //BOOST_PROCESS_V2_DETAIL_CONFIG_HPP