bug-gnulib
[Top][All Lists]
Advanced

[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: Tue, 23 Feb 2010 05:58:58 -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/23/2010 12:15 AM:
>>> 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).
> 
> Thanks. I tried the patch and gettimeofday is not compiled in. However,
> there's still a problem as sys/time.h does declare gettimeofday (not
> rpl_gettimeofday), but gettimeofday.c unconditionally implements
> rpl_gettimeofday. So I know I'll have a problem a link stage.

Indeed; I'll fix that later today.  Apparently newer mingw now provides
gettimeofday, so my cross-compilation testing yesterday never triggered
the case of a system without the function.

-- 
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]