summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@profusion.mobi>2016-11-18 12:20:57 -0200
committerGustavo Sverzut Barbieri <barbieri@profusion.mobi>2016-11-18 12:53:32 -0200
commit090940c3ae1f0fb2d284d916debbb44a6d254b21 (patch)
treee5eb4a28dfbc7f87964afc3f8fca88f4c130a74f
parent5818dc71da2b058e6f38f218785b08660e8b92e6 (diff)
efl_net: windows do not define AI_ADDRCONFIG.
do as for other missing bitwise flags and simply define to 0, reducing need to ifdefs in the code. This partially addresses D4357.
-rw-r--r--src/lib/ecore_con/ecore_con_private.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/ecore_con/ecore_con_private.h b/src/lib/ecore_con/ecore_con_private.h
index aa1b81925c..6e4994cd5b 100644
--- a/src/lib/ecore_con/ecore_con_private.h
+++ b/src/lib/ecore_con/ecore_con_private.h
@@ -422,6 +422,9 @@ void ecore_con_mempool_shutdown(void);
422#ifndef AI_V4MAPPED 422#ifndef AI_V4MAPPED
423#define AI_V4MAPPED 0 423#define AI_V4MAPPED 0
424#endif 424#endif
425#ifndef AI_ADDRCONFIG
426#define AI_ADDRCONFIG 0
427#endif
425 428
426void _efl_net_server_udp_client_init(Eo *client, SOCKET fd, const struct sockaddr *addr, socklen_t addrlen, const char *str); 429void _efl_net_server_udp_client_init(Eo *client, SOCKET fd, const struct sockaddr *addr, socklen_t addrlen, const char *str);
427void _efl_net_server_udp_client_feed(Eo *client, Eina_Rw_Slice slice); 430void _efl_net_server_udp_client_feed(Eo *client, Eina_Rw_Slice slice);