Windows fix
This commit is contained in:
parent
05c3f7160b
commit
1d514c1532
@ -329,7 +329,7 @@ namespace cpptrace {
|
|||||||
CPPTRACE_API extern const int stdout_fileno = detail::fileno(stdout);
|
CPPTRACE_API extern const int stdout_fileno = detail::fileno(stdout);
|
||||||
CPPTRACE_API extern const int stderr_fileno = detail::fileno(stderr);
|
CPPTRACE_API extern const int stderr_fileno = detail::fileno(stderr);
|
||||||
|
|
||||||
CPPTRACE_API [[noreturn]] void terminate_handler() {
|
[[noreturn]] CPPTRACE_API void terminate_handler() {
|
||||||
try {
|
try {
|
||||||
std::rethrow_exception(std::current_exception());
|
std::rethrow_exception(std::current_exception());
|
||||||
} catch(cpptrace::exception& e) {
|
} catch(cpptrace::exception& e) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user