Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
KjellKod committed Dec 6, 2023
1 parent 4142865 commit 31ddb4c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/crashhandler_windows.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
#include <windows.h>
#include <atomic>
#include <csignal>
#include <cstring>
#include <sstream>
#include "g3log/crashhandler.hpp"
#include "g3log/g3log.hpp"
Expand Down Expand Up @@ -175,6 +176,7 @@ namespace g3 {
// we stick to perror for lack of better alternatives.
size_t writeErrorMessage(const char* message) {
perror(message);
return std::strlen(message);
}

// Restore back to default fatal event handling
Expand Down

0 comments on commit 31ddb4c

Please sign in to comment.