1 // 2 // Boost.Process 3 // 4 // Copyright (c) 2006 Julio M. Merino Vidal. 5 // 6 // Distributed under the Boost Software License, Version 1.0. 7 // (See accompanying file LICENSE_1_0.txt or copy at 8 // http://www.boost.org/LICENSE_1_0.txt.) 9 // 10 11 //! 12 //! \file boost/process/detail/config.hpp 13 //! 14 //! Defines macros that are used by the library's code to determine 15 //! features of the operating system used internally by the library. 16 //! 17 18 #if !defined(BOOST_PROCESS_DETAIL_CONFIG_HPP) 19 /** \cond */ 20 #define BOOST_PROCESS_DETAIL_CONFIG_HPP 21 /** \endcond */ 22 23 #undef BOOST_PROCESS_WIN32_SAFE_FUNCTIONS 24 #if (defined(BOOST_MSVC) && BOOST_MSVC >= 1400) || \ 25 defined(BOOST_PROCESS_DOXYGEN) 26 //! 27 //! \brief Defined if the Win32-specific safe functions are available. 28 //! 29 //! This macro is defined (to no specific value) when Boost.Process is 30 //! being used on a system that has the Win32-specific safe functions 31 //! (e.g. strcpy_s). 32 //! 33 # define BOOST_PROCESS_WIN32_SAFE_FUNCTIONS 34 #endif 35 36 #endif // !defined(BOOST_PROCESS_DETAIL_CONFIG_HPP) 37