A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
load execinfo.h when available
[simgrid.git]
/
src
/
portable.h
diff --git
a/src/portable.h
b/src/portable.h
index
9a6acb3
..
8db6630
100644
(file)
--- 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 <execinfo.h>
+#endif
+
#endif /* GRAS_PORTABLE_H */