Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/ecore

Dir     : e17/libs/ecore/src/lib/ecore_con


Modified Files:
        Ecore_Con.h 


Log Message:


actually make symbol hiding work!

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_con/Ecore_Con.h,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- Ecore_Con.h 30 Aug 2005 09:32:08 -0000      1.12
+++ Ecore_Con.h 27 Dec 2005 17:17:30 -0000      1.13
@@ -11,8 +11,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
@@ -127,14 +131,14 @@
        int               status;
      };
         
-   extern int ECORE_CON_EVENT_CLIENT_ADD;
-   extern int ECORE_CON_EVENT_CLIENT_DEL;
-   extern int ECORE_CON_EVENT_SERVER_ADD;
-   extern int ECORE_CON_EVENT_SERVER_DEL;
-   extern int ECORE_CON_EVENT_CLIENT_DATA;
-   extern int ECORE_CON_EVENT_SERVER_DATA;
-   extern int ECORE_CON_EVENT_URL_DATA;
-   extern int ECORE_CON_EVENT_URL_COMPLETE;
+   EAPI extern int ECORE_CON_EVENT_CLIENT_ADD;
+   EAPI extern int ECORE_CON_EVENT_CLIENT_DEL;
+   EAPI extern int ECORE_CON_EVENT_SERVER_ADD;
+   EAPI extern int ECORE_CON_EVENT_SERVER_DEL;
+   EAPI extern int ECORE_CON_EVENT_CLIENT_DATA;
+   EAPI extern int ECORE_CON_EVENT_SERVER_DATA;
+   EAPI extern int ECORE_CON_EVENT_URL_DATA;
+   EAPI extern int ECORE_CON_EVENT_URL_COMPLETE;
    
    EAPI int               ecore_con_init(void);
    EAPI int               ecore_con_shutdown(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

Reply via email to