Compiling libpurple in Visual Studio

Richard Laager rlaager at
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)
> #else
> #define PRPL_EXTERN
> #endif
> 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...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <>

More information about the Devel mailing list