From: mquinson Date: Sun, 7 Aug 2005 23:07:56 +0000 (+0000) Subject: load execinfo.h when available X-Git-Tag: v3.3~3723 X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/5e354afe3a3a6acf85db8987075cf6143778b0ae load execinfo.h when available git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1633 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/portable.h b/src/portable.h index 9a6acb37f6..8db663048e 100644 --- a/src/portable.h +++ b/src/portable.h @@ -170,4 +170,11 @@ extern int vasnprintf(char **ptr, size_t str_m, const char *fmt, va_list ap); # define PRINTF_STR(a) (a)?:"(null)" #endif +/* + * What we need to extract the backtrace in exception handling code + */ +#ifdef HAVE_EXECINFO_H +# include +#endif + #endif /* GRAS_PORTABLE_H */