Index: src/processor/cfi_frame_info.cc |
=================================================================== |
--- a/src/processor/cfi_frame_info.cc |
+++ b/src/processor/cfi_frame_info.cc |
@@ -38,16 +38,20 @@ |
#include <sstream> |
#include "common/scoped_ptr.h" |
#include "processor/postfix_evaluator-inl.h" |
namespace google_breakpad { |
+#ifdef _WIN32 |
+#define strtok_r strtok_s |
+#endif |
+ |
template<typename V> |
bool CFIFrameInfo::FindCallerRegs(const RegisterValueMap<V> ®isters, |
const MemoryRegion &memory, |
RegisterValueMap<V> *caller_registers) const { |
// If there are not rules for both .ra and .cfa in effect at this address, |
// don't use this CFI data for stack walking. |
if (cfa_rule_.empty() || ra_rule_.empty()) |
return false; |