> -----Original Message-----
> From: Paulo Jorge Guedes [mailto:[EMAIL PROTECTED]
> Sent: segunda-feira, 17 de Abril de 2006 18:36
> To: David Faure; kde-buildsystem@kde.org
> Subject: RE: ltdl.c in kinit
> 
> > I guess those methods need to be declared with KDECORE_EXPORT then;
> can
> > you try that?
> 
> It works :)
> KDECORE_EXPORT doesn't work (yes, I included kdemacros.h), I had to
use
> __declspec(dllexport) directly.

Ups, the include for KDECORE_EXPORT is in kdelibs_export_win.h :) 
But, as ltdl.c doesn't belong to kdecore, doesn't KDE_EXPORT should be
used instead?

Paulo

> BTW, is this obsolete?
> 
> #ifdef DLL_EXPORT
> #  define LT_GLOBAL_DATA      __declspec(dllexport)
> #else
> #  define LT_GLOBAL_DATA
> #endif

_______________________________________________
Kde-buildsystem mailing list
Kde-buildsystem@kde.org
https://mail.kde.org/mailman/listinfo/kde-buildsystem

Reply via email to