On 7/17/06, Rafael EspĂndola <[EMAIL PROTECTED]> wrote:
> This is gccism. it needs to be abstracted otherwise we won't compile on > other platforms. > > glib may have a macro for that, can you check that out? glib uses these attributes internally, but it I couldn't find macro that can be used in application code.
Glib just define G_HAVE_GNUC_VISIBILITY, however googleing shows some code that can be used in central place to define it in a multi-platform way. Note that I did use this macro before and the results are not the expected... so maybe it's better to check it first and maybe bugreport according. -- Gustavo Sverzut Barbieri -------------------------------------- Jabber: [EMAIL PROTECTED] MSN: [EMAIL PROTECTED] ICQ#: 17249123 Skype: gsbarbieri Mobile: +55 (81) 9927 0010 Phone: +1 (347) 624 6296; [EMAIL PROTECTED] GPG: 0xB640E1A2 @ wwwkeys.pgp.net _______________________________________________ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers