Index: src/core/model/int64x64-cairo.h |
=================================================================== |
--- a/src/core/model/int64x64-cairo.h |
+++ b/src/core/model/int64x64-cairo.h |
@@ -25,6 +25,10 @@ |
#include "cairo-wideint-private.h" |
+#include "ns3/ns3-module.h" |
+#define NS3_MODULE NS3_CORE_MODULE |
+#include "ns3/ns3-export.h" |
+ |
/** |
* \file |
* \ingroup highprec |
@@ -37,7 +41,7 @@ |
* \internal |
* The implementation documented here uses cairo 128-bit integers. |
*/ |
-class int64x64_t |
+class NS3_EXPORT int64x64_t |
{ |
/// High bit of fractional part |
static const uint64_t HPCAIRO_MASK_HI_BIT = (((uint64_t)1)<<63); |
@@ -249,18 +253,18 @@ |
static int64x64_t Invert (const uint64_t v); |
private: |
- friend bool operator == (const int64x64_t & lhs, const int64x64_t & rhs); |
+ friend NS3_EXPORT bool operator == (const int64x64_t & lhs, const int64x64_t & rhs); |
- friend bool operator < (const int64x64_t & lhs, const int64x64_t & rhs); |
- friend bool operator > (const int64x64_t & lhs, const int64x64_t & rhs); |
+ friend NS3_EXPORT bool operator < (const int64x64_t & lhs, const int64x64_t & rhs); |
+ friend NS3_EXPORT bool operator > (const int64x64_t & lhs, const int64x64_t & rhs); |
- friend int64x64_t & operator += ( int64x64_t & lhs, const int64x64_t & rhs); |
- friend int64x64_t & operator -= ( int64x64_t & lhs, const int64x64_t & rhs); |
- friend int64x64_t & operator *= ( int64x64_t & lhs, const int64x64_t & rhs); |
- friend int64x64_t & operator /= ( int64x64_t & lhs, const int64x64_t & rhs); |
+ friend NS3_EXPORT int64x64_t & operator += ( int64x64_t & lhs, const int64x64_t & rhs); |
+ friend NS3_EXPORT int64x64_t & operator -= ( int64x64_t & lhs, const int64x64_t & rhs); |
+ friend NS3_EXPORT int64x64_t & operator *= ( int64x64_t & lhs, const int64x64_t & rhs); |
+ friend NS3_EXPORT int64x64_t & operator /= ( int64x64_t & lhs, const int64x64_t & rhs); |
- friend int64x64_t operator - (const int64x64_t & lhs); |
- friend int64x64_t operator ! (const int64x64_t & lhs); |
+ friend NS3_EXPORT int64x64_t operator - (const int64x64_t & lhs); |
+ friend NS3_EXPORT int64x64_t operator ! (const int64x64_t & lhs); |
/** |
* Implement `*=`. |