1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-12-11 23:17:39 +01:00

Fixes in tests for cmake build

This commit is contained in:
Alexander Esilevich 2010-10-04 16:12:39 +07:00
parent dddd8c2d60
commit 8d380c1e5c
2 changed files with 2 additions and 2 deletions

View file

@ -26,7 +26,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#endif #endif
#include <errno.h> #include <errno.h>
#if HAVE_EXECINFO_H #ifdef HAVE_EXECINFO_H
# include <execinfo.h> # include <execinfo.h>
#else #else
extern int backtrace (void **, int); extern int backtrace (void **, int);

View file

@ -29,7 +29,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
# include "config.h" # include "config.h"
#endif #endif
#if HAVE_EXECINFO_H #ifdef HAVE_EXECINFO_H
# include <execinfo.h> # include <execinfo.h>
#else #else
extern int backtrace (void **, int); extern int backtrace (void **, int);