Skip to content

Commit 1c0ea3f

Browse files
applications: Export TgaxVideoTraffic symbols for MSVC/ClangCL compatibility
1 parent 1e16d62 commit 1c0ea3f

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/applications/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,4 +69,5 @@ build_lib(
6969
test/tgax-voip-traffic-test-suite.cc
7070
test/tgax-virtual-desktop-test-suite.cc
7171
test/rta-tig-mobile-gaming-test-suite.cc
72+
GENERATE_EXPORT_HEADER
7273
)

src/applications/model/tgax-video-traffic.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
#include "source-application.h"
1313

14+
#include "ns3/applications-export.h"
1415
#include "ns3/data-rate.h"
1516
#include "ns3/event-id.h"
1617
#include "ns3/traced-callback.h"
@@ -33,7 +34,7 @@ class GammaRandomVariable;
3334
* 802.11-14/0571r12 - 11ax Evaluation Methodology (see applications documentation for
3435
* full citation).
3536
*/
36-
class TgaxVideoTraffic : public SourceApplication
37+
class APPLICATIONS_EXPORT TgaxVideoTraffic : public SourceApplication
3738
{
3839
public:
3940
/**

0 commit comments

Comments
 (0)