Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/ecore

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


Modified Files:
        Ecore_Config.h 


Log Message:


actually make symbol hiding work!

===================================================================
RCS file: 
/cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_config/Ecore_Config.h,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -3 -r1.46 -r1.47
--- Ecore_Config.h      18 Sep 2005 12:25:57 -0000      1.46
+++ Ecore_Config.h      27 Dec 2005 17:17:30 -0000      1.47
@@ -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
@@ -125,10 +129,10 @@
 # endif
 
 /* global ptrs to save passing them through the API */
-   extern EAPI Ecore_Config_Server *__ecore_config_server_global;
-   extern EAPI Ecore_Config_Server *__ecore_config_server_local;
-   extern EAPI Ecore_Config_Bundle *__ecore_config_bundle_local;
-   extern EAPI char        *__ecore_config_app_name;
+   EAPI extern Ecore_Config_Server *__ecore_config_server_global;
+   EAPI extern Ecore_Config_Server *__ecore_config_server_local;
+   EAPI extern Ecore_Config_Bundle *__ecore_config_bundle_local;
+   EAPI extern char        *__ecore_config_app_name;
 
    EAPI Ecore_Config_Prop  *ecore_config_get(const char *key);
    EAPI const char         *ecore_config_type_get(const Ecore_Config_Prop *e);




-------------------------------------------------------
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