From: navarrop Date: Fri, 7 May 2010 12:56:29 +0000 (+0000) Subject: Enable mac compilation with MMAP. X-Git-Tag: SVN~22 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/e42098ece35ef06fe7df355ee3f258d61eabbfdb?hp=bb24762a7220ff0b3a59211902bb2ef3cb8c8a4d Enable mac compilation with MMAP. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7722 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/xbt/mmalloc/mmap-sup.c b/src/xbt/mmalloc/mmap-sup.c index 733b3250ca..f32e0aa1d9 100644 --- a/src/xbt/mmalloc/mmap-sup.c +++ b/src/xbt/mmalloc/mmap-sup.c @@ -9,6 +9,10 @@ /* 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. */ +#ifndef MAP_ANONYMOUS + #define MAP_ANONYMOUS MAP_ANON +#endif + #ifdef HAVE_UNISTD_H #include /* Prototypes for lseek */ #endif