Index: src/core/model/global-value.h |
=================================================================== |
--- a/src/core/model/global-value.h |
+++ b/src/core/model/global-value.h |
@@ -25,6 +25,10 @@ |
#include "ptr.h" |
#include "attribute.h" |
+#include "ns3/ns3-module.h" |
+#define NS3_MODULE NS3_CORE_MODULE |
+#include "ns3/ns3-export.h" |
+ |
/** |
* \file |
* \ingroup core |
@@ -70,7 +74,7 @@ |
* values through command line arguments to their program: |
* \c --Name=Value will set global value \c Name to \c Value. |
*/ |
-class GlobalValue |
+class NS3_EXPORT GlobalValue |
{ |
/** Container type for holding all the GlobalValues. */ |
typedef std::vector<GlobalValue *> Vector; |