Enlightenment CVS committal Author : raster Project : e17 Module : libs/ecore
Dir : e17/libs/ecore/src/lib/ecore_dbus Modified Files: Ecore_DBus.h Log Message: actually make symbol hiding work! =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_dbus/Ecore_DBus.h,v retrieving revision 1.5 retrieving revision 1.6 diff -u -3 -r1.5 -r1.6 --- Ecore_DBus.h 29 Sep 2005 03:08:20 -0000 1.5 +++ Ecore_DBus.h 27 Dec 2005 17:17:30 -0000 1.6 @@ -15,8 +15,12 @@ # define EAPI __declspec(dllimport) # endif #else -# ifdef GCC_HASCLASSVISIBILITY -# define EAPI __attribute__ ((visibility("default"))) +# ifdef __GNUC__ +# if __GNUC__ >= 4 +# define EAPI __attribute__ ((visibility("default"))) +# else +# define EAPI +# endif # else # define EAPI # endif @@ -86,9 +90,9 @@ ECORE_DBUS_HEADER_FIELD_SIGNATURE } Ecore_DBus_Message_Header_Field; - extern int ECORE_DBUS_EVENT_SERVER_ADD; - extern int ECORE_DBUS_EVENT_SERVER_DATA; - extern int ECORE_DBUS_EVENT_SERVER_DEL; + EAPI extern int ECORE_DBUS_EVENT_SERVER_ADD; + EAPI extern int ECORE_DBUS_EVENT_SERVER_DATA; + EAPI extern int ECORE_DBUS_EVENT_SERVER_DEL; /* init */ EAPI int ecore_dbus_init(void); ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs