# HG changeset patch # User David Demelier # Date 1416053970 -3600 # Node ID bae4af872cdefe56062227f0356e281dd3a6673e # Parent c019f194475a59307c4223503e17492828a1286a# Parent 4e17193db14188b51da92a5f46111db8579760dc MFS diff -r c019f194475a -r bae4af872cde C++/DynLib.h --- a/C++/DynLib.h Sat Nov 15 13:13:31 2014 +0100 +++ b/C++/DynLib.h Sat Nov 15 13:19:30 2014 +0100 @@ -23,9 +23,9 @@ #if defined(_WIN32) # include -# define EXPORT __declspec(dllexport) +# define DYNLIB_EXPORT __declspec(dllexport) #else -# define EXPORT +# define DYNLIB_EXPORT #endif /** diff -r c019f194475a -r bae4af872cde C++/Tests/DynLib/Plugin.cpp --- a/C++/Tests/DynLib/Plugin.cpp Sat Nov 15 13:13:31 2014 +0100 +++ b/C++/Tests/DynLib/Plugin.cpp Sat Nov 15 13:19:30 2014 +0100 @@ -4,9 +4,9 @@ extern "C" { -void EXPORT initialize(std::string &result) +void DYNLIB_EXPORT initialize(std::string &result) { result = "Hello World"; } -} \ No newline at end of file +}