Skip to content
This repository has been archived by the owner on Oct 3, 2020. It is now read-only.

Commit

Permalink
Bug 617115 - crashreporter fixes part. r=ted
Browse files Browse the repository at this point in the history
  • Loading branch information
azakai committed May 27, 2011
1 parent 7f89daa commit 1089f5e
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions toolkit/crashreporter/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ endif

ifeq ($(OS_TARGET),Android)
DIRS += fileid
# NDK5 workarounds
DEFINES += -D_STLP_CONST_CONSTRUCTOR_BUG -D_STLP_NO_MEMBER_TEMPLATES
endif

DIRS += client
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,9 @@ CPPSRCS = \
FORCE_STATIC_LIB = 1
FORCE_USE_PIC = 1

ifeq ($(OS_TARGET),Android)
# NDK5 workarounds
DEFINES += -D_STLP_CONST_CONSTRUCTOR_BUG -D_STLP_NO_MEMBER_TEMPLATES
endif

include $(topsrcdir)/config/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@
#include "common/linux/guid_creator.h"
#include "common/linux/eintr_wrapper.h"

#include "linux/sched.h"

#ifndef PR_SET_PTRACER
#define PR_SET_PTRACER 0x59616d61
#endif
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
#endif
#include <stdio.h>
#include <unistd.h>
#include <ctype.h>
#if !defined(__ANDROID__)
#include <sys/ucontext.h>
#include <sys/user.h>
Expand Down

0 comments on commit 1089f5e

Please sign in to comment.