diff --git a/include/mqt-core/dd/RealNumber.hpp b/include/mqt-core/dd/RealNumber.hpp index 2b7b1addd..b90985c05 100644 --- a/include/mqt-core/dd/RealNumber.hpp +++ b/include/mqt-core/dd/RealNumber.hpp @@ -1,6 +1,7 @@ #pragma once #include "dd/DDDefinitions.hpp" +#include "mqt_core_export.h" #include #include @@ -230,11 +231,11 @@ struct RealNumber { namespace constants { // NOLINTBEGIN(cppcoreguidelines-avoid-non-const-global-variables) /// The constant zero. -extern RealNumber zero; +MQT_CORE_EXPORT extern RealNumber zero; /// The constant one. -extern RealNumber one; +MQT_CORE_EXPORT extern RealNumber one; /// The constant sqrt(2)/2 = 1/sqrt(2). -extern RealNumber sqrt2over2; +MQT_CORE_EXPORT extern RealNumber sqrt2over2; // NOLINTEND(cppcoreguidelines-avoid-non-const-global-variables) /**