mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-12-03 19:57:39 +01:00
Fixes in tests for cmake build
This commit is contained in:
parent
dddd8c2d60
commit
8d380c1e5c
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue