Revision: 5018
          http://tigervnc.svn.sourceforge.net/tigervnc/?rev=5018&view=rev
Author:   ossman_
Date:     2012-12-13 13:55:22 +0000 (Thu, 13 Dec 2012)
Log Message:
-----------
Windows lacks the IN6_ARE_ADDR_EQUAL macro, so define it ourselves
when necessary.

Modified Paths:
--------------
    trunk/common/network/TcpSocket.cxx

Modified: trunk/common/network/TcpSocket.cxx
===================================================================
--- trunk/common/network/TcpSocket.cxx  2012-12-11 22:12:35 UTC (rev 5017)
+++ trunk/common/network/TcpSocket.cxx  2012-12-13 13:55:22 UTC (rev 5018)
@@ -54,6 +54,11 @@
 #define INADDR_LOOPBACK ((unsigned long)0x7F000001)
 #endif
 
+#if defined(HAVE_GETADDRINFO) && !defined(IN6_ARE_ADDR_EQUAL)
+#define IN6_ARE_ADDR_EQUAL(a,b) \
+  (memcmp ((const void*)(a), (const void*)(b), sizeof (struct in6_addr)) == 0)
+#endif
+
 using namespace network;
 using namespace rdr;
 

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Tigervnc-commits mailing list
Tigervnc-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-commits

Reply via email to