CHECK_INCLUDE_FILE("unistd.h" HAVE_UNISTD_H)
CHECK_INCLUDE_FILE("execinfo.h" HAVE_EXECINFO_H)
CHECK_INCLUDE_FILE("signal.h" HAVE_SIGNAL_H)
-CHECK_INCLUDE_FILE("sys/time.h" HAVE_SYS_TIME_H)
CHECK_INCLUDE_FILE("sys/param.h" HAVE_SYS_PARAM_H)
CHECK_INCLUDE_FILE("sys/sysctl.h" HAVE_SYS_SYSCTL_H)
CHECK_INCLUDE_FILE("ucontext.h" HAVE_UCONTEXT_H)
message("HAVE_UNISTD_H ...............: ${HAVE_UNISTD_H}")
message("HAVE_EXECINFO_H .............: ${HAVE_EXECINFO_H}")
message("HAVE_SIGNAL_H ...............: ${HAVE_SIGNAL_H}")
-message("HAVE_SYS_TIME_H .............: ${HAVE_SYS_TIME_H}")
message("HAVE_DLFCN_H ................: ${HAVE_DLFCN_H}")
message("")
/* simgrid_config.h - Results of the configure made visible to user code */
-/* Copyright (c) 2009-2014. The SimGrid Team.
- * All rights reserved. */
+/* Copyright (c) 2009-2016. The SimGrid Team. All rights reserved. */
/* 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. */
#define SIMGRID_VERSION_PATCH @SIMGRID_VERSION_PATCH@
#define SIMGRID_VERSION_STRING "@SIMGRID_VERSION_STRING@"
-
#define SIMGRID_VERSION_BANNER "@SIMGRID_VERSION_BANNER@"
/* Version X.Y.Z will get version number XYZ: all digits concatenated without dots
* (with Y and Z must be on two positions)*/
-
-#define MAKE_SIMGRID_VERSION(major, minor, patch) \
- (100UL * (100UL * (major) + (minor)) + (patch))
-#define SIMGRID_VERSION MAKE_SIMGRID_VERSION(SIMGRID_VERSION_MAJOR, \
- SIMGRID_VERSION_MINOR, \
- SIMGRID_VERSION_PATCH)
+#define MAKE_SIMGRID_VERSION(major, minor, patch) (100UL * (100UL * (major) + (minor)) + (patch))
+#define SIMGRID_VERSION MAKE_SIMGRID_VERSION(SIMGRID_VERSION_MAJOR, SIMGRID_VERSION_MINOR, SIMGRID_VERSION_PATCH)
/* Define to 1 if you have the <unistd.h> header file. */
#cmakedefine HAVE_UNISTD_H @HAVE_UNISTD_H@
-/* Define to 1 if you have the <sys/time.h> header file. */
-#cmakedefine HAVE_SYS_TIME_H @HAVE_SYS_TIME_H@
-
/* Whether mallocators were enabled in ccmake or not. */
#define MALLOCATOR_COMPILED_IN @MALLOCATOR_IS_WANTED@
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
-#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
-#endif
#include <stddef.h>
#include <xbt/misc.h>
#ifndef MC_DATATYPE_H
#define MC_DATATYPE_H
-#include <simgrid_config.h>
+#include <src/internal_config.h>
#include <xbt/base.h>
#ifdef HAVE_UCONTEXT_H
-/* portable -- header loading to write portable code */
-/* loads much more stuff than sysdep.h since the latter is in public interface*/
+/* portable -- header loading to write portable code within SimGrid */
-/* Copyright (c) 2004-2010, 2012-2015. The SimGrid Team.
- * All rights reserved. */
+/* Copyright (c) 2004, 2016. The SimGrid Team. All rights reserved. */
/* 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. */
# include <sys/sysctl.h>
#endif
-/****
- **** File handling
- ****/
+/* File handling */
#include <fcntl.h>
# define O_BINARY 0
#endif
-/****
- **** Time handling
- ****/
-
-#if HAVE_SYS_TIME_H
-# include <sys/time.h>
-#endif
+/* Time handling */
+#include <sys/time.h>
#include <time.h>
-/****
- **** Signals
- ****/
+/* Signals */
#ifdef HAVE_SIGNAL_H
# include <signal.h>
#endif
/* Define to 1 if you have the <sys/ptrace.h> header file. */
#cmakedefine HAVE_SYS_PTRACE_H @HAVE_SYS_PTRACE_H@
-/* Define to 1 if you have the <sys/time.h> header file. */
-#cmakedefine HAVE_SYS_TIME_H @HAVE_SYS_TIME_H@
-
/* Define to 1 if you have the <sys/types.h> header file. */
#cmakedefine HAVE_SYS_TYPES_H @HAVE_SYS_TYPES_H@