[vlc-devel] commit: Work around the fact that autosh.. tools does only check for header presence, not usability. (Pierre d' Herbemont )
git version control
git at videolan.org
Sat May 31 15:40:46 CEST 2008
vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Sat May 31 15:42:08 2008 +0200| [b39f83c87a5234cfbb8de61364d757288f4880c7]
Work around the fact that autosh..tools does only check for header presence, not usability.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b39f83c87a5234cfbb8de61364d757288f4880c7
---
src/misc/objects.c | 2 +-
src/misc/threads.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/misc/objects.c b/src/misc/objects.c
index dafde1e..d7cdff0 100644
--- a/src/misc/objects.c
+++ b/src/misc/objects.c
@@ -1482,7 +1482,7 @@ static void ListChildren( vlc_list_t *p_list, vlc_object_t *p_this, int i_type )
}
#ifndef NDEBUG
-# ifdef HAVE_EXECINFO_H
+# if defined(HAVE_EXECINFO_H) && defined(HAVE_BACKTRACE)
# include <execinfo.h>
# endif
diff --git a/src/misc/threads.c b/src/misc/threads.c
index 57274d6..89e9058 100644
--- a/src/misc/threads.c
+++ b/src/misc/threads.c
@@ -83,7 +83,7 @@ static inline unsigned long vlc_threadid (void)
return v.i;
}
-#if HAVE_EXECINFO_H
+#if defined(HAVE_EXECINFO_H) && defined(HAVE_BACKTRACE)
# include <execinfo.h>
#endif
More information about the vlc-devel
mailing list