mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-12-03 03:37:38 +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
|
||||
|
||||
#include <errno.h>
|
||||
#if HAVE_EXECINFO_H
|
||||
#ifdef HAVE_EXECINFO_H
|
||||
# include <execinfo.h>
|
||||
#else
|
||||
extern int backtrace (void **, int);
|
||||
|
|
|
@ -29,7 +29,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
|||
# include "config.h"
|
||||
#endif
|
||||
|
||||
#if HAVE_EXECINFO_H
|
||||
#ifdef HAVE_EXECINFO_H
|
||||
# include <execinfo.h>
|
||||
#else
|
||||
extern int backtrace (void **, int);
|
||||
|
|
Loading…
Reference in a new issue