Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Fix SimGridMC when SMPI is disabled
[simgrid.git] / src / mc / ObjectInformation.hpp
index 8ada283..21c3a04 100644 (file)
@@ -88,7 +88,11 @@ public:
 
   bool privatized() const
   {
+#ifdef HAVE_SMPI
     return this->executable() && smpi_privatize_global_variables;
+#else
+    return false;
+#endif
   }
 
   void* base_address() const;