[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem on system without gettimeofday
From: |
Eric Blake |
Subject: |
Re: Problem on system without gettimeofday |
Date: |
Mon, 22 Feb 2010 09:05:11 -0700 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666 |
According to Michael Goffioul on 2/21/2010 4:09 PM:
> I think that because of the outer "if test $ac_cv_func_gettimeofday =
> yes; then",
> REPLACE_GETTIMEOFDAY can only be set to 1 on systems that already
> provide an implementation of it.
Correct. But a platform that lacks gettimeofday altogether should also
compile the replacement file (but with REPLACE_GETTIMEOFDAY left alone).
> Is this a bug? If not, what is supposed to happen on system that do not
> provide gettimeofday?
An inadvertent regression, particularly since the documentation already
mentions that mingw lacks the function. I will commit this after testing
a cross-compile to mingw; let me know if it helps your situation (I don't
use MSVC).
--
Eric Blake address@hidden +1-801-349-2682
Libvirt virtualization library http://libvirt.org
gnulib.patch340
Description: Text document
signature.asc
Description: OpenPGP digital signature