From 72a6bee2926748e7a413bad0443898bb137fbc5b Mon Sep 17 00:00:00 2001 From: Gabriel Ferreira Date: Tue, 28 Jan 2025 15:05:34 +0100 Subject: [PATCH] lte: Export UE_MEASUREMENT_REPORT_DELAY symbol for MSVC compatibility --- src/lte/CMakeLists.txt | 1 + src/lte/model/lte-ue-rrc.h | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lte/CMakeLists.txt b/src/lte/CMakeLists.txt index 8e5ba146a..f5bfccaba 100644 --- a/src/lte/CMakeLists.txt +++ b/src/lte/CMakeLists.txt @@ -358,4 +358,5 @@ build_lib( ${libconfig-store} TEST_SOURCES ${test_sources} MODULE_ENABLED_FEATURES ${emu_features} + GENERATE_EXPORT_HEADER ) diff --git a/src/lte/model/lte-ue-rrc.h b/src/lte/model/lte-ue-rrc.h index 6f74004c3..894a754b2 100644 --- a/src/lte/model/lte-ue-rrc.h +++ b/src/lte/model/lte-ue-rrc.h @@ -23,6 +23,7 @@ #include "lte-ue-cphy-sap.h" #include "ns3/deprecated.h" +#include "ns3/lte-export.h" #include "ns3/object.h" #include "ns3/packet.h" #include "ns3/traced-callback.h" @@ -50,7 +51,7 @@ namespace ns3 * - time-to-trigger check is always performed before the reporting, so there * would still be chance for it to cancel the reporting if necessary. */ -extern const Time UE_MEASUREMENT_REPORT_DELAY; +LTE_EXPORT extern const Time UE_MEASUREMENT_REPORT_DELAY; class LteRlc; class LteMacSapProvider;