Browse Source

r13110@catbus: nickm | 2007-05-31 15:03:24 -0400
Fix windows build.


svn:r10424

Nick Mathewson 17 years ago
parent
commit
71c0a13703
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/common/compat.h

+ 2 - 1
src/common/compat.h

@@ -244,7 +244,8 @@ int get_n_open_sockets(void);
 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];