Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix compilation error if don't have MMAP like win32
authorunknown <pierre@.(none)>
Fri, 4 May 2012 14:32:31 +0000 (16:32 +0200)
committerunknown <pierre@.(none)>
Fri, 4 May 2012 14:32:31 +0000 (16:32 +0200)
src/xbt/log.c

index d0e6d00..95b6843 100644 (file)
@@ -556,7 +556,9 @@ static void xbt_log_connect_categories(void)
   XBT_LOG_CONNECT(xbt);
   XBT_LOG_CONNECT(graphxml_parse);
   XBT_LOG_CONNECT(log);
   XBT_LOG_CONNECT(xbt);
   XBT_LOG_CONNECT(graphxml_parse);
   XBT_LOG_CONNECT(log);
+#if HAVE_MMAP
   XBT_LOG_CONNECT(mm_diff);
   XBT_LOG_CONNECT(mm_diff);
+#endif
   XBT_LOG_CONNECT(module);
   XBT_LOG_CONNECT(peer);
   XBT_LOG_CONNECT(replay);
   XBT_LOG_CONNECT(module);
   XBT_LOG_CONNECT(peer);
   XBT_LOG_CONNECT(replay);