mirror of
https://github.com/PureDarwin/PureDarwin.git
synced 2026-01-25 04:06:25 +00:00
Merge pull request #155 from Zormeister/crashreporter-cxx
Build checks passed against main branch merging Fix C++ code linking to libCrashReporterClient PR.
This commit is contained in:
@@ -29,6 +29,10 @@
|
||||
#ifndef __CrashReporterClient__
|
||||
#define __CrashReporterClient__
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#define CRASHREPORTER_ANNOTATIONS_SECTION "__crash_info"
|
||||
@@ -56,4 +60,8 @@ struct crashreporter_annotations_t {
|
||||
CRASH_REPORTER_CLIENT_HIDDEN
|
||||
extern struct crashreporter_annotations_t gCRAnnotations;
|
||||
|
||||
#ifdef __cplusplus
|
||||
};
|
||||
#endif
|
||||
|
||||
#endif /* __CrashReporterClient__ */
|
||||
|
||||
Reference in New Issue
Block a user