barbieri pushed a commit to branch master.

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

commit c3ddc8f09e6d7f7deec73d5f380f24a1cf2a3919
Author: Gustavo Sverzut Barbieri <barbi...@profusion.mobi>
Date:   Fri Nov 18 12:32:16 2016 -0200

    efl_net: do not use sockaddr_un on Windows.
    
    struct sockaddr_un doesn't exist on windows, so do not use it.
    
    Partially addresses D4357.
---
 src/lib/ecore_con/ecore_con.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/lib/ecore_con/ecore_con.c b/src/lib/ecore_con/ecore_con.c
index 0812a7c..2d58c98 100644
--- a/src/lib/ecore_con/ecore_con.c
+++ b/src/lib/ecore_con/ecore_con.c
@@ -3567,7 +3567,11 @@ static void
 _efl_net_connect_async_run(void *data, Ecore_Thread *thread EINA_UNUSED)
 {
    Efl_Net_Connect_Async_Data *d = data;
-   char buf[INET6_ADDRSTRLEN + sizeof("[]:65536") + sizeof(struct 
sockaddr_un)] = "";
+   char buf[INET6_ADDRSTRLEN + sizeof("[]:65536")
+#ifndef _WIN32
+            + sizeof(struct sockaddr_un)
+#endif
+            ] = "";
    int r;
 
    /* allows ecore_thread_cancel() to cancel at some points, see

-- 


Reply via email to