mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2025-03-01 11:56:46 +00:00
Linux: Fix builds on systems without PR_SET_PTRACER in linux/prctl.h.
R=thakis@chromium.org Review URL: https://breakpad.appspot.com/612002 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1199 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
7b5811eaac
commit
92537aa818
|
@ -28,7 +28,7 @@
|
||||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
// linux_ptrace_dumper_unittest.cc:
|
// linux_ptrace_dumper_unittest.cc:
|
||||||
// Unit tests for google_breakpad::LinuxPtraceDumoer.
|
// Unit tests for google_breakpad::LinuxPtraceDumper.
|
||||||
//
|
//
|
||||||
// This file was renamed from linux_dumper_unittest.cc and modified due
|
// This file was renamed from linux_dumper_unittest.cc and modified due
|
||||||
// to LinuxDumper being splitted into two classes.
|
// to LinuxDumper being splitted into two classes.
|
||||||
|
@ -58,6 +58,10 @@
|
||||||
#include "common/memory.h"
|
#include "common/memory.h"
|
||||||
#include "common/using_std_string.h"
|
#include "common/using_std_string.h"
|
||||||
|
|
||||||
|
#ifndef PR_SET_PTRACER
|
||||||
|
#define PR_SET_PTRACER 0x59616d61
|
||||||
|
#endif
|
||||||
|
|
||||||
using namespace google_breakpad;
|
using namespace google_breakpad;
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
Loading…
Reference in a new issue