[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r10424: Fix windows build. (in tor/trunk: . src/common)



Author: nickm
Date: 2007-05-31 15:03:46 -0400 (Thu, 31 May 2007)
New Revision: 10424

Modified:
   tor/trunk/
   tor/trunk/src/common/compat.h
Log:
 r13110@catbus:  nickm | 2007-05-31 15:03:24 -0400
 Fix windows build.



Property changes on: tor/trunk
___________________________________________________________________
 svk:merge ticket from /tor/trunk [r13110] on 8246c3cf-6607-4228-993b-4d95d33730f1

Modified: tor/trunk/src/common/compat.h
===================================================================
--- tor/trunk/src/common/compat.h	2007-05-31 19:03:44 UTC (rev 10423)
+++ tor/trunk/src/common/compat.h	2007-05-31 19:03:46 UTC (rev 10424)
@@ -244,7 +244,8 @@
 typedef int socklen_t;
 #endif
 
-#ifndef HAVE_STRUCT_IN6_ADDR
+/* XXXX020 detect in6_addr correctly on ms_windows; this is a hack. */
+#if !defined(HAVE_STRUCT_IN6_ADDR) && !defined(MS_WINDOWS)
 struct in6_addr
 {
   uint8_t s6_addr[16];