Mercurial > code
changeset 301:4e17193db141
DynLib: rename EXPORT to DYNLIB_EXPORT
author | David Demelier <markand@malikania.fr> |
---|---|
date | Sat, 15 Nov 2014 13:19:21 +0100 |
parents | 2935e07ddb88 |
children | 4cff6aa6f271 bae4af872cde |
files | C++/DynLib.h C++/Tests/DynLib/Plugin.cpp |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/C++/DynLib.h Sat Nov 15 13:13:18 2014 +0100 +++ b/C++/DynLib.h Sat Nov 15 13:19:21 2014 +0100 @@ -23,9 +23,9 @@ #if defined(_WIN32) # include <Windows.h> -# define EXPORT __declspec(dllexport) +# define DYNLIB_EXPORT __declspec(dllexport) #else -# define EXPORT +# define DYNLIB_EXPORT #endif /**
--- a/C++/Tests/DynLib/Plugin.cpp Sat Nov 15 13:13:18 2014 +0100 +++ b/C++/Tests/DynLib/Plugin.cpp Sat Nov 15 13:19:21 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 +}