mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-12 17:14:00 +02:00
Update breakpad to make it work with MinGW
This commit is contained in:
6
thirdparty/breakpad/common/stabs_reader.cc
vendored
6
thirdparty/breakpad/common/stabs_reader.cc
vendored
@@ -37,6 +37,10 @@
|
||||
#include <stab.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "common/using_std_string.h"
|
||||
|
||||
using std::vector;
|
||||
|
||||
namespace google_breakpad {
|
||||
@@ -225,7 +229,7 @@ bool StabsReader::ProcessFunction() {
|
||||
const char *name_end = strchr(stab_string, ':');
|
||||
if (! name_end)
|
||||
name_end = stab_string + strlen(stab_string);
|
||||
std::string name(stab_string, name_end - stab_string);
|
||||
string name(stab_string, name_end - stab_string);
|
||||
if (! handler_->StartFunction(name, function_address))
|
||||
return false;
|
||||
++iterator_;
|
||||
|
Reference in New Issue
Block a user