]> AND Public Git Repository - simgrid.git/blobdiff - include/simgrid/plugins/dvfs.h
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Use transparent comparator 'std::less<>' with associative string container (sonar).
[simgrid.git] / include / simgrid / plugins / dvfs.h
index 3f7ed88e743ff137526ed1cc5a0fc0fc2f707505..38874ae50a3c6a6aeb89e82869bd225dba88a5fb 100644 (file)
@@ -7,6 +7,7 @@
 #ifndef SIMGRID_PLUGINS_DVFS_H_
 #define SIMGRID_PLUGINS_DVFS_H_
 
+#include <simgrid/config.h>
 #include <simgrid/forward.h>
 #include <xbt/base.h>
 
@@ -14,7 +15,9 @@ SG_BEGIN_DECL
 
 XBT_PUBLIC void sg_host_dvfs_plugin_init();
 
+#if SIMGRID_HAVE_MSG
 #define MSG_host_dvfs_plugin_init() sg_host_dvfs_plugin_init()
+#endif // SIMGRID_HAVE_MSG
 
 SG_END_DECL