From 3bdb7cafa612e0f4630185f2f86a44f5ac7ce65b Mon Sep 17 00:00:00 2001 From: Gabriel Corona Date: Thu, 4 Dec 2014 11:07:40 +0100 Subject: [PATCH] [mc] Don't include libunwind.h in non MC builds --- src/mc/mc_global.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mc/mc_global.c b/src/mc/mc_global.c index 6c3b74252d..19f84ef514 100644 --- a/src/mc/mc_global.c +++ b/src/mc/mc_global.c @@ -13,9 +13,6 @@ #include #include #include - -#define UNW_LOCAL_ONLY -#include #endif #include "simgrid/sg_config.h" @@ -26,6 +23,9 @@ #include "xbt/dict.h" #ifdef HAVE_MC +#define UNW_LOCAL_ONLY +#include + #include "../xbt/mmalloc/mmprivate.h" #include "mc_object_info.h" #include "mc_comm_pattern.h" -- 2.20.1