Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(651)

Unified Diff: src/core/model/fatal-impl.h

Issue 342870043: Visual Studio conditional code for core module (Closed)
Patch Set: Updates to resolve review comments Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/core/model/event-impl.h ('k') | src/core/model/fatal-impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « src/core/model/event-impl.h ('k') | src/core/model/fatal-impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b