Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : libs/e_dbus

Dir     : e17/libs/e_dbus/src/lib/nm


Modified Files:
        E_Nm.h 


Log Message:
define EAPI

===================================================================
RCS file: /cvs/e/e17/libs/e_dbus/src/lib/nm/E_Nm.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- E_Nm.h      4 Nov 2007 07:51:37 -0000       1.2
+++ E_Nm.h      4 Nov 2007 11:19:55 -0000       1.3
@@ -3,6 +3,27 @@
 
 #include <E_DBus.h>
 
+#ifdef EAPI
+#undef EAPI
+#endif
+#ifdef _MSC_VER
+# ifdef BUILDING_DLL
+#  define EAPI __declspec(dllexport)
+# else
+#  define EAPI __declspec(dllimport)
+# endif
+#else
+# ifdef __GNUC__
+#  if __GNUC__ >= 4
+#   define EAPI __attribute__ ((visibility("default")))
+#  else
+#   define EAPI
+#  endif
+# else
+#  define EAPI
+# endif
+#endif
+
 typedef struct E_NM_Context E_NM_Context;
 
 typedef void (*E_NM_Cb_Manager_State_Change) (void *data, int state);



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to