From: Enlightenment S. <no-...@en...> - 2012-03-07 23:34:45
|
Log: Ecore_Con: should fix compilation on Mac OS X Author: caro Date: 2012-03-07 15:34:38 -0800 (Wed, 07 Mar 2012) New Revision: 69036 Trac: http://trac.enlightenment.org/e/changeset/69036 Modified: trunk/ecore/src/lib/ecore_con/ecore_con_socks.c Modified: trunk/ecore/src/lib/ecore_con/ecore_con_socks.c =================================================================== --- trunk/ecore/src/lib/ecore_con/ecore_con_socks.c 2012-03-07 22:53:50 UTC (rev 69035) +++ trunk/ecore/src/lib/ecore_con/ecore_con_socks.c 2012-03-07 23:34:38 UTC (rev 69036) @@ -10,6 +10,10 @@ #include <unistd.h> #include <fcntl.h> +#ifdef HAVE_SYS_SOCKET_H +# include <sys/socket.h> +#endif + #ifdef HAVE_NETINET_TCP_H # include <netinet/tcp.h> #endif @@ -36,10 +40,6 @@ # include <arpa/inet.h> #endif -#ifdef HAVE_SYS_SOCKET_H -# include <sys/socket.h> -#endif - #ifdef HAVE_SYS_UN_H # include <sys/un.h> #endif |
From: Enlightenment S. <no-...@en...> - 2012-07-20 11:05:35
|
Log: ecore_con: fix compilation on Windows Author: caro Date: 2012-07-20 04:05:25 -0700 (Fri, 20 Jul 2012) New Revision: 74240 Trac: http://trac.enlightenment.org/e/changeset/74240 Modified: trunk/ecore/src/lib/ecore_con/ecore_con_dns.c Modified: trunk/ecore/src/lib/ecore_con/ecore_con_dns.c =================================================================== --- trunk/ecore/src/lib/ecore_con/ecore_con_dns.c 2012-07-20 11:04:45 UTC (rev 74239) +++ trunk/ecore/src/lib/ecore_con/ecore_con_dns.c 2012-07-20 11:05:25 UTC (rev 74240) @@ -12,6 +12,10 @@ #include <string.h> #include <sys/types.h> +#ifdef HAVE_ERRNO_H +# include <errno.h> /* for EAGAIN */ +#endif + #ifdef HAVE_NETINET_IN_H # include <netinet/in.h> #endif |
From: Enlightenment S. <no-...@en...> - 2012-08-27 21:22:43
|
Log: core_Con: add header See 'Notes' section in http://linux.die.net/man/2/connect Author: caro Date: 2012-08-27 14:22:34 -0700 (Mon, 27 Aug 2012) New Revision: 75742 Trac: http://trac.enlightenment.org/e/changeset/75742 Modified: trunk/ecore/src/lib/ecore_con/ecore_con_local.c Modified: trunk/ecore/src/lib/ecore_con/ecore_con_local.c =================================================================== --- trunk/ecore/src/lib/ecore_con/ecore_con_local.c 2012-08-27 19:34:18 UTC (rev 75741) +++ trunk/ecore/src/lib/ecore_con/ecore_con_local.c 2012-08-27 21:22:34 UTC (rev 75742) @@ -8,6 +8,7 @@ #include <time.h> #include <fcntl.h> #include <sys/stat.h> +#include <sys/types.h> #ifdef HAVE_SYS_SOCKET_H # include <sys/socket.h> |
From: Enlightenment S. <no-...@en...> - 2012-10-04 17:04:50
|
Log: Ecore_con: update ecore_con_eet headers. Should make it compiling on Windows (not tested) Author: caro Date: 2012-10-04 10:04:38 -0700 (Thu, 04 Oct 2012) New Revision: 77444 Trac: http://trac.enlightenment.org/e/changeset/77444 Modified: trunk/ecore/src/lib/ecore_con/Ecore_Con_Eet.h trunk/ecore/src/lib/ecore_con/ecore_con_eet.c Modified: trunk/ecore/src/lib/ecore_con/Ecore_Con_Eet.h =================================================================== --- trunk/ecore/src/lib/ecore_con/Ecore_Con_Eet.h 2012-10-04 16:33:22 UTC (rev 77443) +++ trunk/ecore/src/lib/ecore_con/Ecore_Con_Eet.h 2012-10-04 17:04:38 UTC (rev 77444) @@ -5,6 +5,32 @@ #include <Ecore.h> #include <Ecore_Con.h> +#ifdef EAPI +# undef EAPI +#endif + +#ifdef _WIN32 +# ifdef EFL_ECORE_CON_BUILD +# ifdef DLL_EXPORT +# define EAPI __declspec(dllexport) +# else +# define EAPI +# endif +# 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 _Ecore_Con_Eet Ecore_Con_Eet; typedef struct _Ecore_Con_Reply Ecore_Con_Reply; Modified: trunk/ecore/src/lib/ecore_con/ecore_con_eet.c =================================================================== --- trunk/ecore/src/lib/ecore_con/ecore_con_eet.c 2012-10-04 16:33:22 UTC (rev 77443) +++ trunk/ecore/src/lib/ecore_con/ecore_con_eet.c 2012-10-04 17:04:38 UTC (rev 77444) @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + #include <Eina.h> #include "Ecore_Con_Eet.h" |