![]() System : Linux absol.cf 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, Directory : /usr/include/boost/winapi/ |
Upload File : |
/* * Copyright 2017 Andrey Semashev * * Distributed under the Boost Software License, Version 1.0. * See http://www.boost.org/LICENSE_1_0.txt */ #ifndef BOOST_WINAPI_STACK_BACKTRACE_HPP_INCLUDED_ #define BOOST_WINAPI_STACK_BACKTRACE_HPP_INCLUDED_ #include <boost/winapi/basic_types.hpp> #include <boost/winapi/config.hpp> #ifdef BOOST_HAS_PRAGMA_ONCE #pragma once #endif // MinGW does not provide RtlCaptureStackBackTrace #if !defined( BOOST_WINAPI_IS_MINGW ) // Note: RtlCaptureStackBackTrace is available in WinXP SP1 and later #if (BOOST_USE_NTDDI_VERSION > BOOST_WINAPI_NTDDI_WINXP) #if BOOST_WINAPI_PARTITION_APP_SYSTEM // Windows SDK shipped with MSVC 7.1 and 8 does not declare RtlCaptureStackBackTrace in headers but allows to link with it #if !defined( BOOST_USE_WINDOWS_H ) || (defined(_MSC_VER) && (_MSC_VER+0) < 1500) extern "C" { BOOST_SYMBOL_IMPORT boost::winapi::WORD_ BOOST_WINAPI_NTAPI_CC RtlCaptureStackBackTrace( boost::winapi::DWORD_ FramesToSkip, boost::winapi::DWORD_ FramesToCapture, boost::winapi::PVOID_* BackTrace, boost::winapi::PDWORD_ BackTraceHash); } // extern "C" #endif namespace boost { namespace winapi { using ::RtlCaptureStackBackTrace; } } #endif // BOOST_WINAPI_PARTITION_APP_SYSTEM #endif // (BOOST_USE_NTDDI_VERSION > BOOST_WINAPI_NTDDI_WINXP) #endif // !defined( BOOST_WINAPI_IS_MINGW ) #endif // BOOST_WINAPI_STACK_BACKTRACE_HPP_INCLUDED_