barbieri pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=b322a3ae53827cb880cec8d8f234f685dce6a179
commit b322a3ae53827cb880cec8d8f234f685dce6a179 Author: Gustavo Sverzut Barbieri <barbi...@profusion.mobi> Date: Fri Nov 18 12:27:15 2016 -0200 efl_net: define EAI_SYSTEM when it's not defined (ie: Windows). its value is unimportant, just do not match any other EAI error value. Partially fixes D4357. --- src/lib/ecore_con/ecore_con_private.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/lib/ecore_con/ecore_con_private.h b/src/lib/ecore_con/ecore_con_private.h index 6e4994c..5253985 100644 --- a/src/lib/ecore_con/ecore_con_private.h +++ b/src/lib/ecore_con/ecore_con_private.h @@ -426,6 +426,15 @@ void ecore_con_mempool_shutdown(void); #define AI_ADDRCONFIG 0 #endif +/* Windows do not define EAI_SYSTEM, so just define to some number + * that won't be matched, effectively disabling the subsequent + * checks/usage + */ +#ifndef EAI_SYSTEM +#define EAI_SYSTEM 254 /* number that won't match anything in EAI_* */ +#endif + + void _efl_net_server_udp_client_init(Eo *client, SOCKET fd, const struct sockaddr *addr, socklen_t addrlen, const char *str); void _efl_net_server_udp_client_feed(Eo *client, Eina_Rw_Slice slice); --