diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2008-08-18 14:47:28 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2008-08-18 14:47:28 +0000 |
commit | c69f453cb2de6057e9e30c4a4b4031fd32cb1318 (patch) | |
tree | 3b4b7fbf06767d8e74e5ead2562dcd4c2c5ba971 /sal | |
parent | 11c8d7c0f0aba33d862c16041556891bfd5f7bc5 (diff) |
INTEGRATION: CWS maccrashrep (1.8.22); FILE MERGED
2008/07/22 12:31:49 gh 1.8.22.2: #i90159# Enabled crash reporting for MacOsX. now also buildable for PPC
2008/07/21 08:48:04 hro 1.8.22.1: #i90159# implemented missing backtrace functions in glibc
Diffstat (limited to 'sal')
-rwxr-xr-x | sal/osl/unx/backtrace.h | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/sal/osl/unx/backtrace.h b/sal/osl/unx/backtrace.h index 34308f32f290..a641ccea603a 100755 --- a/sal/osl/unx/backtrace.h +++ b/sal/osl/unx/backtrace.h @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: backtrace.h,v $ - * $Revision: 1.8 $ + * $Revision: 1.9 $ * * This file is part of OpenOffice.org. * @@ -82,3 +82,21 @@ struct frame { #endif #endif /* defined LINUX && SPARC */ + +#if defined (MACOSX) + +#ifdef __cplusplus +extern "C" { +#endif + +/* backtrace function with same behaviour as defined in GNU libc */ + +int backtrace( void **buffer, int max_frames ); + +void backtrace_symbols_fd( void **buffer, int size, int fd ); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#endif /* defined MACOSX */ |