[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Status of the win32 gettimeofday module
From: |
Bruno Haible |
Subject: |
Re: Status of the win32 gettimeofday module |
Date: |
Fri, 19 Jan 2007 02:39:05 +0100 (MET) |
User-agent: |
KMail/1.5.4 |
Paul Eggert wrote:
> The main idea here is that we should try to avoid separate include
> files like "gettimeofday.h" for declarations that POSIX says should be
> in a standard file like <sys/time.h>. Instead, we should patch
> <sys/time.h> by wrapping it; that way the user code can just code to
> the POSIX standard.
Yes, I agree this is better. I merely wanted to integrate and clean up
Martin Lambers' patch.
> * lib/nanosleep.c: Don't worry about TIME_WITH_SYS_TIME; no longer
> needed.
> * lib/strftime.c: Likewise.
> * lib/timespec.h: Likewise.
Good; the last platform I saw that had incompatible <time.h> and
<sys/time.h> was Sun386 with SunOS 4.0.x, in 1991/1992. Shouldn't the
AC_HEADER_TIME macro now be marked obsolescent in the autoconf manual,
like the AC_STRUCT_TM macro already is?
Bruno
Re: Status of the win32 gettimeofday module, Bruno Haible, 2007/01/17
Re: Status of the win32 gettimeofday module, Yoann Vandoorselaere, 2007/01/17