]> AND Public Git Repository - simgrid.git/blobdiff - src/simix/smx_context.cpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove the need of pthread_mutex in mmalloc, to allow its use with sthread
[simgrid.git] / src / simix / smx_context.cpp
index d50acec44e7af8012835e8d4d8fafdece1b107f6..86e1d7d339371c18047fa0e75532acd8c975768e 100644 (file)
@@ -7,6 +7,9 @@
 
 #include "src/kernel/context/Context.hpp"
 
+#define SIMIX_H_NO_DEPRECATED_WARNING // avoid deprecation warning on include (remove with XBT_ATTRIB_DEPRECATED_v333)
+#include <simgrid/simix.h>
+
 int SIMIX_context_is_parallel() // XBT_ATTRIB_DEPRECATED_v333
 {
   return simgrid::kernel::context::is_parallel();