Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(334)

Side by Side Diff: src/common/stabs_reader.h

Issue 1726163002: Fix building on musl libc. Base URL: https://chromium.googlesource.com/breakpad/breakpad.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/common/linux/elf_core_dump.h ('k') | src/config.h.in » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // -*- mode: c++ -*- 1 // -*- mode: c++ -*-
2 2
3 // Copyright (c) 2010 Google Inc. All Rights Reserved. 3 // Copyright (c) 2010 Google Inc. All Rights Reserved.
4 // 4 //
5 // Redistribution and use in source and binary forms, with or without 5 // Redistribution and use in source and binary forms, with or without
6 // modification, are permitted provided that the following conditions are 6 // modification, are permitted provided that the following conditions are
7 // met: 7 // met:
8 // 8 //
9 // * Redistributions of source code must retain the above copyright 9 // * Redistributions of source code must retain the above copyright
10 // notice, this list of conditions and the following disclaimer. 10 // notice, this list of conditions and the following disclaimer.
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 #include <stdint.h> 50 #include <stdint.h>
51 51
52 #ifdef HAVE_CONFIG_H 52 #ifdef HAVE_CONFIG_H
53 #include <config.h> 53 #include <config.h>
54 #endif 54 #endif
55 55
56 #ifdef HAVE_MACH_O_NLIST_H 56 #ifdef HAVE_MACH_O_NLIST_H
57 #include <mach-o/nlist.h> 57 #include <mach-o/nlist.h>
58 #elif defined(HAVE_A_OUT_H) 58 #elif defined(HAVE_A_OUT_H)
59 #include <a.out.h> 59 #include <a.out.h>
60 #elif defined(HAVE_LINUX_A_OUT_H)
61 #include <linux/a.out.h>
60 #endif 62 #endif
61 63
62 #include <string> 64 #include <string>
63 #include <vector> 65 #include <vector>
64 66
65 #include "common/byte_cursor.h" 67 #include "common/byte_cursor.h"
66 #include "common/using_std_string.h" 68 #include "common/using_std_string.h"
67 69
68 namespace google_breakpad { 70 namespace google_breakpad {
69 71
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 } 318 }
317 319
318 // Report a warning. FORMAT is a printf-like format string, 320 // Report a warning. FORMAT is a printf-like format string,
319 // specifying how to format the subsequent arguments. 321 // specifying how to format the subsequent arguments.
320 virtual void Warning(const char *format, ...) = 0; 322 virtual void Warning(const char *format, ...) = 0;
321 }; 323 };
322 324
323 } // namespace google_breakpad 325 } // namespace google_breakpad
324 326
325 #endif // COMMON_STABS_READER_H__ 327 #endif // COMMON_STABS_READER_H__
OLDNEW
« no previous file with comments | « src/common/linux/elf_core_dump.h ('k') | src/config.h.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698