comparison C++/DynLib.h @ 197:0b029b53ff55

DynLib: Add EXPORT because it's needed on Windows C linkage
author David Demelier <markand@malikania.fr>
date Thu, 28 Nov 2013 21:06:37 +0100
parents 274b4f216e65
children d157f4747676
comparison
equal deleted inserted replaced
196:274b4f216e65 197:0b029b53ff55
21 21
22 #include <string> 22 #include <string>
23 23
24 #if defined(_MSC_VER) 24 #if defined(_MSC_VER)
25 # include <Windows.h> 25 # include <Windows.h>
26 # define EXPORT __declspec(dllexport)
27 #else
28 # define EXPORT
26 #endif 29 #endif
27 30
28 /** 31 /**
29 * @class DynLib 32 * @class DynLib
30 * @brief Load a dynamic module 33 * @brief Load a dynamic module