Index: src/core/model/integer.h |
=================================================================== |
--- a/src/core/model/integer.h |
+++ b/src/core/model/integer.h |
@@ -25,6 +25,10 @@ |
#include <stdint.h> |
#include <limits> |
+#include "ns3/ns3-module.h" |
+#define NS3_MODULE NS3_CORE_MODULE |
+#include "ns3/ns3-export.h" |
+ |
/** |
* \file |
* \ingroup attribute_Integer |
@@ -41,8 +45,8 @@ |
* type such as int8_t, int16_t, int32_t, int64_t, or, |
* int, etc. |
*/ |
-ATTRIBUTE_VALUE_DEFINE_WITH_NAME (int64_t, Integer); |
-ATTRIBUTE_ACCESSOR_DEFINE (Integer); |
+ATTRIBUTE_VALUE_DEFINE_WITH_NAME_LIB (int64_t, Integer, NS3_EXPORT); |
+ATTRIBUTE_ACCESSOR_DEFINE_LIB (Integer, NS3_EXPORT); |
template <typename T> |
Ptr<const AttributeChecker> MakeIntegerChecker (void); |
@@ -85,7 +89,7 @@ |
namespace internal { |
-Ptr<const AttributeChecker> MakeIntegerChecker (int64_t min, int64_t max, std::string name); |
+NS3_EXPORT Ptr<const AttributeChecker> MakeIntegerChecker (int64_t min, int64_t max, std::string name); |
} // internal |