Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Need to have the HAVE_MMAP variable.
authornavarrop <navarrop@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 23 Jun 2010 13:52:30 +0000 (13:52 +0000)
committernavarrop <navarrop@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 23 Jun 2010 13:52:30 +0000 (13:52 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7922 48e7efb5-ca39-0410-a469-dd3cf9ba447f

include/simgrid_config.h.in
src/xbt/xbt_main.c

index 0eb76a2..ef054c7 100644 (file)
@@ -28,6 +28,9 @@
 #ifndef SIMGRID_PUBLIC_CONFIG_H
 #define SIMGRID_PUBLIC_CONFIG_H
 
+/* Define to 1 if you have the `mmap' function. */
+#cmakedefine HAVE_MMAP @HAVE_MMAP@
+
 /* Get the config */
 #undef SIMGRID_NEED_GETLINE
 #undef SIMGRID_NEED_ASPRINTF
index 8ce310b..6f5688f 100644 (file)
@@ -7,6 +7,7 @@
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 #include "xbt/misc.h"
+#include "simgrid_config.h"            /*HAVE_MMAP*/
 #include "time.h"               /* to seed the random generator */
 
 #include "xbt/sysdep.h"