Index: src/core/model/fatal-impl.h |
=================================================================== |
--- a/src/core/model/fatal-impl.h |
+++ b/src/core/model/fatal-impl.h |
@@ -23,6 +23,10 @@ |
#include <ostream> |
+#include "ns3/ns3-module.h" |
+#define NS3_MODULE NS3_CORE_MODULE |
+#include "ns3/ns3-export.h" |
+ |
/** |
* \file |
* \ingroup fatalimpl |
@@ -56,7 +60,7 @@ |
* |
* \param [in] stream The stream to be flushed on abnormal exit. |
*/ |
-void RegisterStream (std::ostream* stream); |
+void NS3_EXPORT RegisterStream (std::ostream* stream); |
/** |
* \ingroup fatalimpl |
@@ -71,7 +75,7 @@ |
* |
* \param [in] stream The stream to be unregistered. |
*/ |
-void UnregisterStream (std::ostream* stream); |
+void NS3_EXPORT UnregisterStream (std::ostream* stream); |
/** |
* \ingroup fatalimpl |
@@ -91,7 +95,7 @@ |
* |
* DO NOT call this function until the program is ready to crash. |
*/ |
-void FlushStreams (void); |
+void NS3_EXPORT FlushStreams (void); |
} //FatalImpl |
} //ns3 |