Index: src/core/model/string.h |
=================================================================== |
--- a/src/core/model/string.h |
+++ b/src/core/model/string.h |
@@ -23,6 +23,10 @@ |
#include <string> |
#include "attribute-helper.h" |
+#include "ns3/ns3-module.h" |
+#define NS3_MODULE NS3_CORE_MODULE |
+#include "ns3/ns3-export.h" |
+ |
/** |
* \file |
* \ingroup attribute_String |
@@ -38,9 +42,9 @@ |
* This class can be used to hold variables of type string, |
* that is, either char * or std::string. |
*/ |
-ATTRIBUTE_VALUE_DEFINE_WITH_NAME (std::string, String); |
-ATTRIBUTE_ACCESSOR_DEFINE (String); |
-ATTRIBUTE_CHECKER_DEFINE (String); |
+ATTRIBUTE_VALUE_DEFINE_WITH_NAME_LIB (std::string, String, NS3_EXPORT); |
+ATTRIBUTE_ACCESSOR_DEFINE_LIB (String, NS3_EXPORT); |
+ATTRIBUTE_CHECKER_DEFINE_LIB (String, NS3_EXPORT); |
} // namespace ns3 |