barbieri pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=a06c9f96aaa5cba85c49be32e4be89a9efa84795

commit a06c9f96aaa5cba85c49be32e4be89a9efa84795
Author: Gustavo Sverzut Barbieri <[email protected]>
Date:   Sat Oct 22 21:19:56 2016 -0200

    AI_V4MAPPED may not be defined in some platforms.
    
    define to 0 in such cases, so the flag won't be affected.
    
    Fixes T4754
---
 src/lib/ecore_con/ecore_con_private.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/lib/ecore_con/ecore_con_private.h 
b/src/lib/ecore_con/ecore_con_private.h
index 3a8c802..10cef28 100644
--- a/src/lib/ecore_con/ecore_con_private.h
+++ b/src/lib/ecore_con/ecore_con_private.h
@@ -393,6 +393,11 @@ Eina_Bool efl_net_ip_port_fmt(char *buf, int buflen, const 
struct sockaddr *addr
 #define INVALID_SOCKET -1
 #endif
 
+/* some platforms do not have AI_V4MAPPED, then define to 0 so bitwise OR 
won't be changed */
+#ifndef AI_V4MAPPED
+#define AI_V4MAPPED 0
+#endif
+
 /**
  * @brief splits an address in the format "host:port" in two
  * null-terminated strings.

-- 


Reply via email to