Compiling libpurple in Visual Studio
rlaager at wiktel.com
Mon May 28 23:03:16 EDT 2007
On Mon, 2007-05-28 at 17:38 -0700, David Byron wrote:
> #if (defined(WIN32) || defined(_WIN32))
> #define PRPL_EXTERN __declspec(dllexport)
> #define PRPL_EXTERN
> and then each public function starts with PRPL_EXTERN, like this:
> PRPL_EXTERN PurplePlugin *purple_find_prpl(const char *id);
This is what G_MODULE_EXPORT does. As Ethan said, if we can avoid this,
I'd prefer it.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 189 bytes
Desc: This is a digitally signed message part
More information about the Devel