/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
+#include <unistd.h>
#include <execinfo.h>
#include <sys/stat.h>
#include "xbt/str.h"
#include "xbt/module.h" /* xbt_binary_name */
#include "src/xbt_modinter.h" /* backtrace initialization headers */
-#ifdef HAVE_MC
+#if HAVE_MC
#define UNW_LOCAL_ONLY
#include <libunwind.h>
#endif
free(cmd);
}
-#ifdef HAVE_MC
-
+#if HAVE_MC
int xbt_libunwind_backtrace(void* bt[XBT_BACKTRACE_SIZE], int size){
int i = 0;