Parcourir la source

Workaround for oddity in cygwin autoconf

svn:r2301
Nick Mathewson il y a 21 ans
Parent
commit
7979c0277d
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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;