Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add include guard.
[simgrid.git] / src / smpi / plugins / ampi / ampi.hpp
index ec57d6f..7f3912e 100644 (file)
@@ -3,16 +3,20 @@
 /* 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. */
 
+#ifndef AMPI_HPP
+#define AMPI_HPP
+
 #include <simgrid/s4u.hpp>
 
 namespace simgrid {
 namespace smpi {
 namespace plugin {
 namespace ampi {
-  extern XBT_PUBLIC simgrid::xbt::signal<void(simgrid::s4u::ActorPtr)> on_iteration_out;
-  extern XBT_PUBLIC simgrid::xbt::signal<void(simgrid::s4u::ActorPtr)> on_iteration_in;
+  extern simgrid::xbt::signal<void(simgrid::s4u::ActorPtr)> on_iteration_out;
+  extern simgrid::xbt::signal<void(simgrid::s4u::ActorPtr)> on_iteration_in;
 }
 }
 }
 }
 
+#endif