Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
new function: remove a given element of the xbt_heap
[simgrid.git] / src / xbt / backtrace_linux.c
index da9ced5..b32ec96 100644 (file)
@@ -1,7 +1,7 @@
 /* backtrace_linux - backtrace displaying on linux platform                 */
 /* This file is included by ex.c on need (have execinfo.h, popen & addrline)*/
 
-/* Copyright (c) 2008-2013. The SimGrid Team.
+/* Copyright (c) 2008-2014. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
@@ -13,6 +13,7 @@
 #include "xbt/module.h"         /* xbt_binary_name */
 #include "xbt_modinter.h"       /* backtrace initialization headers */
 #ifdef HAVE_MC
+#define UNW_LOCAL_ONLY
 #include <libunwind.h>
 #endif
 /* end of "useless" inclusions */