From 1855fc35f21c30307e6ae71ca0511f1c654b70a4 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Sat, 14 Oct 2006 12:02:19 +0000 Subject: Declare our own timeval struct if HAVE_STRUCT_TIMEVAL is not defined --- lib/timeval.h | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/lib/timeval.h b/lib/timeval.h index 0792064a7..0d44e2b21 100644 --- a/lib/timeval.h +++ b/lib/timeval.h @@ -42,22 +42,11 @@ #endif #ifndef HAVE_STRUCT_TIMEVAL - -/* TODO: define HAVE_STRUCT_TIMEVAL as appropriate in our config files for - platforms that lack autotools support. Afterwards remove or simplify - the following logic which will become redundant */ - -#ifndef HAVE_GETTIMEOFDAY -#if !defined(_WINSOCKAPI_) && !defined(__MINGW32__) && !defined(_AMIGASF) && \ - !defined(__LCC__) && !defined(__WATCOMC__) && !defined(__POCC__) && \ - !defined(__ECOS) struct timeval { long tv_sec; long tv_usec; }; #endif -#endif -#endif struct timeval curlx_tvnow(void); -- cgit v1.2.3