#include <utility>
+#include <fcntl.h>
#include <signal.h>
#include <poll.h>
#endif
#include <xbt/log.h>
+#include <xbt/sysdep.h>
#include <xbt/system_error.hpp>
#include "simgrid/sg_config.h"
{
char** argv_copy = xbt_new(char*, argc+1);
std::memcpy(argv_copy, argv, sizeof(char*) * argc);
- argv_copy[argc] = NULL;
+ argv_copy[argc] = nullptr;
return argv_copy;
}
if (_sg_mc_comms_determinism || _sg_mc_send_determinism)
res = MC_modelcheck_comm_determinism();
else if (!_sg_mc_property_file || _sg_mc_property_file[0] == '\0')
- res = MC_modelcheck_safety();
+ res = simgrid::mc::modelcheck_safety();
else
- res = MC_modelcheck_liveness();
+ res = simgrid::mc::modelcheck_liveness();
mc_model_checker->shutdown();
return res;
}