diff --git a/src-interface/processing.cpp b/src-interface/processing.cpp index ebabdc3d9..3fc042b24 100644 --- a/src-interface/processing.cpp +++ b/src-interface/processing.cpp @@ -1,3 +1,4 @@ +#define SATDUMP_DLL_EXPORT2 1 #include #include "processing.h" #include "logger.h" @@ -72,8 +73,8 @@ namespace satdump processing_mutex.unlock(); } - std::shared_ptr>> ui_call_list = std::make_shared>>(); - std::shared_ptr ui_call_list_mutex = std::make_shared(); - bool is_processing = false; + SATDUMP_DLL2 std::shared_ptr>> ui_call_list = std::make_shared>>(); + SATDUMP_DLL2 std::shared_ptr ui_call_list_mutex = std::make_shared(); + SATDUMP_DLL2 bool is_processing = false; } } \ No newline at end of file diff --git a/src-interface/processing.h b/src-interface/processing.h index f95c43eae..4c75c05c9 100644 --- a/src-interface/processing.h +++ b/src-interface/processing.h @@ -3,14 +3,15 @@ #include #include #include "core/module.h" +#include "dll_export.h" namespace satdump { namespace processing { - extern std::shared_ptr>> ui_call_list; - extern std::shared_ptr ui_call_list_mutex; - extern bool is_processing; + SATDUMP_DLL2 extern std::shared_ptr>> ui_call_list; + SATDUMP_DLL2 extern std::shared_ptr ui_call_list_mutex; + SATDUMP_DLL2 extern bool is_processing; void process(std::string downlink_pipeline, std::string input_level,