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

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

Issue 1340543002: Fix Mac Breakpad host tools to build in Linux cross-compile (Closed) Base URL: https://chromium.googlesource.com/breakpad/breakpad.git@master
Patch Set: Move mac-headers to mac_headers Created 5 years, 3 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
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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 #ifndef COMMON_STABS_READER_H__ 46 #ifndef COMMON_STABS_READER_H__
47 #define COMMON_STABS_READER_H__ 47 #define COMMON_STABS_READER_H__
48 48
49 #include <stddef.h> 49 #include <stddef.h>
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_A_OUT_H
57 #include <a.out.h>
58 #endif
59 #ifdef HAVE_MACH_O_NLIST_H 56 #ifdef HAVE_MACH_O_NLIST_H
60 #include <mach-o/nlist.h> 57 #include <mach-o/nlist.h>
58 #elif defined(HAVE_A_OUT_H)
59 #include <a.out.h>
61 #endif 60 #endif
62 61
63 #include <string> 62 #include <string>
64 #include <vector> 63 #include <vector>
65 64
66 #include "common/byte_cursor.h" 65 #include "common/byte_cursor.h"
67 #include "common/using_std_string.h" 66 #include "common/using_std_string.h"
68 67
69 namespace google_breakpad { 68 namespace google_breakpad {
70 69
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 } 316 }
318 317
319 // Report a warning. FORMAT is a printf-like format string, 318 // Report a warning. FORMAT is a printf-like format string,
320 // specifying how to format the subsequent arguments. 319 // specifying how to format the subsequent arguments.
321 virtual void Warning(const char *format, ...) = 0; 320 virtual void Warning(const char *format, ...) = 0;
322 }; 321 };
323 322
324 } // namespace google_breakpad 323 } // namespace google_breakpad
325 324
326 #endif // COMMON_STABS_READER_H__ 325 #endif // COMMON_STABS_READER_H__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698