diff options
-rw-r--r-- | auto.def | 2 | ||||
-rw-r--r-- | jim.c | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -122,7 +122,7 @@ if {[opt-bool coverage]} { } cc-check-includes time.h sys/time.h sys/socket.h netinet/in.h arpa/inet.h netdb.h -cc-check-includes util.h pty.h sys/un.h dlfcn.h unistd.h dirent.h crt_externs.h +cc-check-includes util.h pty.h sys/un.h dlfcn.h unistd.h dirent.h crt_externs.h execinfo.h # Check sizeof time_t so we can warn on non-Y2038 compliance cc-with {-includes time.h} { @@ -64,7 +64,7 @@ #ifdef HAVE_SYS_TIME_H #include <sys/time.h> #endif -#ifdef HAVE_BACKTRACE +#ifdef HAVE_EXECINFO_H #include <execinfo.h> #endif #ifdef HAVE_CRT_EXTERNS_H @@ -635,7 +635,7 @@ static void JimPanicDump(int condition, const char *fmt, ...) fprintf(stderr, "\n\n"); va_end(ap); -#ifdef HAVE_BACKTRACE +#if defined(HAVE_BACKTRACE) { void *array[40]; int size, i; |