diff options
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/linux/dump_writer_common/thread_info.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/client/linux/dump_writer_common/thread_info.h b/src/client/linux/dump_writer_common/thread_info.h index 2a99bb97..5f24fd6b 100644 --- a/src/client/linux/dump_writer_common/thread_info.h +++ b/src/client/linux/dump_writer_common/thread_info.h @@ -31,22 +31,7 @@ #define CLIENT_LINUX_DUMP_WRITER_COMMON_THREAD_INFO_H_ #include <sys/ucontext.h> - -// TODO(primiano): remove this after Chromium has stably rolled to NDK r10d. -// Historical context: NDK releases < r10d had a typo in sys/user.h (mxcsr_mask -// instead of mxcr_mask), which is fixed in r10d. However, just switching to use -// the correct one (mxcr_mask) would put Breakpad in a state where it can be -// rolled in chromium only atomically with the r10d NDK. A revert of either -// project (android_tools, breakpad) would make the other one unrollable. -// This hack makes breakpad code compatible with both r10c and r10d NDKs, -// reducing the dependency entangling with android_tools. -#if defined (__ANDROID__) -#define mxcsr_mask mxcr_mask -#include <sys/user.h> -#undef mxcsr_mask -#else #include <sys/user.h> -#endif #include "client/linux/dump_writer_common/raw_context_cpu.h" #include "common/memory.h" |