Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Do not make an expensive call to get_route if it is not needed.
[simgrid.git] / src / cxx / Config.hpp
index 0fc1e6f..2f9ed2d 100644 (file)
@@ -1,44 +1,44 @@
-\r
-/*\r
- * Config.hpp\r
- *\r
- * This file contains the declaration of the wrapper class of the native MSG task type.\r
- *\r
- * Copyright 2006,2007 Martin Quinson, Malek Cherier           \r
- * All right reserved. \r
- *\r
- * This program is free software; you can redistribute \r
- * it and/or modify it under the terms of the license \r
- *(GNU LGPL) which comes with this package. \r
- *\r
- */  \r
-\r
-#ifndef MSG_CONFIG_HPP\r
-#define MSG_CONFIG_HPP\r
-\r
-#ifndef __cplusplus\r
-       #error Config.hpp requires C++ compilation (use a .cxx suffix)\r
-#endif\r
-\r
-namespace SimGrid\r
-{\r
-       namespace Msg\r
-       {\r
-               #if defined(WIN32) && !defined(__MINGW32__)\r
-                       #if defined(SIMGRIDX_EXPORTS)\r
-                               #define SIMGRIDX_EXPORT __declspec(dllexport)\r
-                       #else\r
-                               #define SIMGRIDX_EXPORT __declspec(dllimport)\r
-                       #endif\r
-               #else\r
-                       #define SIMGRIDX_EXPORT\r
-               #endif \r
-       } // namespace Msg\r
-} // namespace SimGrid\r
-\r
-#ifndef WIN32\r
-#define _strdup strdup\r
-#endif\r
-\r
-#endif // MSG_CONFIG_HPP\r
-\r
+
+/*
+ * Config.hpp
+ *
+ * This file contains the declaration of the wrapper class of the native MSG task type.
+ *
+ * Copyright 2006,2007 Martin Quinson, Malek Cherier           
+ * All right reserved. 
+ *
+ * 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 MSG_CONFIG_HPP
+#define MSG_CONFIG_HPP
+
+#ifndef __cplusplus
+       #error Config.hpp requires C++ compilation (use a .cxx suffix)
+#endif
+
+namespace SimGrid
+{
+       namespace Msg
+       {
+               #if defined(WIN32) && !defined(__MINGW32__)
+                       #if defined(SIMGRIDX_EXPORTS)
+                               #define SIMGRIDX_EXPORT __declspec(dllexport)
+                       #else
+                               #define SIMGRIDX_EXPORT __declspec(dllimport)
+                       #endif
+               #else
+                       #define SIMGRIDX_EXPORT
+               #endif 
+       } // namespace Msg
+} // namespace SimGrid
+
+#ifndef WIN32
+#define _strdup strdup
+#endif
+
+#endif // MSG_CONFIG_HPP
+