ltdl.c in kinit
Paulo Jorge Guedes
Paulo.Guedes at artelecom.pt
Mon Apr 17 19:53:10 CEST 2006
> -----Original Message-----
> From: Paulo Jorge Guedes [mailto:Paulo.Guedes at artelecom.pt]
> Sent: segunda-feira, 17 de Abril de 2006 18:36
> To: David Faure; kde-buildsystem at 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
More information about the Kde-buildsystem
mailing list