message("#### Content of src/internal_config.h ####")
message("##########################################")
file(STRINGS ${CMAKE_CURRENT_BINARY_DIR}/src/internal_config.h config_output)
-LIST(REMOVE_AT config_output 0 1 2 3 4 5 6 7 8) # Pass the file header
+LIST(REMOVE_AT config_output 0 1 2 3 4 5 6 7 8 9 10) # Pass the file header
foreach(line ${config_output})
message(" ${line}")
endforeach()
#define HAVE_JEDULE @HAVE_JEDULE@ /* Was Jedule compiled in? */
#define HAVE_LUA @HAVE_LUA@ /* Was the Lua support compiled in? */
-#define HAVE_MALLOCATOR @HAVE_MALLOCATOR@ /* Whether mallocators (object pools) were activated at compilation time. */
+#define HAVE_MALLOCATOR @HAVE_MALLOCATOR@ /* Were mallocators (object pools) compiled in? */
#define HAVE_MC @HAVE_MC@ /* Was the model-checking compiled in? */
#define HAVE_NS3 @HAVE_NS3@ /* Was the NS3 support compiled in? */
#ifndef SIMGRID_PORTABLE_H
#define SIMGRID_PORTABLE_H
-#include "simgrid_config.h" /* what was compiled in? */
#include "src/internal_config.h" /* some information about the environment */
#ifdef _WIN32
/* File handling */
#ifdef _WIN32
- #ifdef S_IRGRP
- #undef S_IRGRP
+ #ifndef S_IRGRP
+ #define S_IRGRP 0
#endif
- #define S_IRGRP 0
#endif
#endif /* SIMGRID_PORTABLE_H */
/* 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 "simgrid_config.h" /* what was compiled in? */
+
/* Non-standard header files */
#define HAVE_EXECINFO_H @HAVE_EXECINFO_H@ /* <execinfo.h> */
#define HAVE_FUTEX_H @HAVE_FUTEX_H@ /* <linux/futex.h> */