#ifndef MSG_HOSTNOTFOUNDEXCEPTION_HPP\r
#define MSG_HOSTNOTFOUNDEXCEPTION_HPP\r
\r
-#include "Exception.hpp"\r
+#ifndef __cplusplus\r
+ #error HostNotFoundException.hpp requires C++ compilation (use a .cxx suffix)\r
+#endif\r
+\r
+#include <Exception.hpp>\r
\r
namespace SimGrid\r
{\r
namespace Msg\r
{\r
\r
- class HostNotFoundException : public Exception\r
+ class SIMGRIDX_EXPORT HostNotFoundException : public Exception\r
{\r
public:\r
\r
\r
\r
#endif // !MSG_HOSTNOTFOUNDEXCEPTION_HPP\r
+\r
+\r