Explorar el Código

Workaround for oddity in cygwin autoconf

svn:r2301
Nick Mathewson hace 21 años
padre
commit
7979c0277d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/common/util.h

+ 1 - 1
src/common/util.h

@@ -26,7 +26,7 @@
 #elif defined(_MSC_VER)
 #include <winsock.h>
 #endif
-#ifndef HAVE_STRUCT_TIMEVAL_TV_SEC
+#if !defined(HAVE_GETTIMEOFDAY) && !defined(HAVE_STRUCT_TIMEVAL_TV_SEC)
 struct timeval {
   time_t tv_sec;
   unsigned int tv_usec;