From: unknown Date: Fri, 4 May 2012 14:32:31 +0000 (+0200) Subject: Fix compilation error if don't have MMAP like win32 X-Git-Tag: v3_7~26^2~6 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/c8e60e520f1d4a578e561aa26716a85bb21d37d5 Fix compilation error if don't have MMAP like win32 --- diff --git a/src/xbt/log.c b/src/xbt/log.c index d0e6d002bd..95b684354b 100644 --- a/src/xbt/log.c +++ b/src/xbt/log.c @@ -556,7 +556,9 @@ static void xbt_log_connect_categories(void) XBT_LOG_CONNECT(xbt); XBT_LOG_CONNECT(graphxml_parse); XBT_LOG_CONNECT(log); +#if HAVE_MMAP XBT_LOG_CONNECT(mm_diff); +#endif XBT_LOG_CONNECT(module); XBT_LOG_CONNECT(peer); XBT_LOG_CONNECT(replay);