diff options
author | thestig@chromium.org <thestig@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2013-04-10 03:33:09 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2013-04-10 03:33:09 +0000 |
commit | d3c4cbd30f2e5e43a9b09add43c51e9b38f617f9 (patch) | |
tree | 162ed8930992a101a526d03933fcd820ffca2fb9 /src/common/linux/file_id.cc | |
parent | Remove auto_ptr usage in Breakpad. Also fix some lint errors. (diff) | |
download | breakpad-d3c4cbd30f2e5e43a9b09add43c51e9b38f617f9.tar.xz |
Fix build on Android - put the missing NT_GNU_BUILD_ID #define in elf_gnu_compat.h and use it where needed.
Review URL: https://breakpad.appspot.com/554004
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1146 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/common/linux/file_id.cc')
-rw-r--r-- | src/common/linux/file_id.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/common/linux/file_id.cc b/src/common/linux/file_id.cc index ca5a3e1f..e3631785 100644 --- a/src/common/linux/file_id.cc +++ b/src/common/linux/file_id.cc @@ -40,6 +40,7 @@ #include <algorithm> +#include "common/linux/elf_gnu_compat.h" #include "common/linux/elfutils.h" #include "common/linux/linux_libc_support.h" #include "common/linux/memory_mapped_file.h" @@ -47,10 +48,6 @@ namespace google_breakpad { -#ifndef NT_GNU_BUILD_ID -#define NT_GNU_BUILD_ID 3 -#endif - FileID::FileID(const char* path) { strncpy(path_, path, sizeof(path_)); } |