[or-cvs] Workaround for oddity in cygwin autoconf

Nick Mathewson nickm at seul.org
Thu Aug 19 17:21:19 UTC 2004


Update of /home/or/cvsroot/src/common
In directory moria.mit.edu:/tmp/cvs-serv20511/src/common

Modified Files:
	util.h 
Log Message:
Workaround for oddity in cygwin autoconf

Index: util.h
===================================================================
RCS file: /home/or/cvsroot/src/common/util.h,v
retrieving revision 1.84
retrieving revision 1.85
diff -u -d -r1.84 -r1.85
--- util.h	18 Aug 2004 04:44:24 -0000	1.84
+++ util.h	19 Aug 2004 17:21:17 -0000	1.85
@@ -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;



More information about the tor-commits mailing list