Compiling libpurple in Visual Studio
elb at pidgin.im
Mon May 28 20:41:34 EDT 2007
David Byron spake unto us the following wisdom:
> What about something like this:
> #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);
> I'll try something like this and get it to work, then submit a patch.
If there is an external way to do this, that is preferable, at least
to me. I see no reason to crap up the code to fix a Windows problem
that can be fixed without messing things up for people on real
The laws that forbid the carrying of arms are laws [that have no remedy
for evils]. They disarm only those who are neither inclined nor
determined to commit crimes.
-- Cesare Beccaria, "On Crimes and Punishments", 1764
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 189 bytes
Desc: Digital signature
More information about the Devel