This is the mail archive of the
ecos-patches@sourceware.org
mailing list for the eCos project.
Re: [ECOS] ecos and gettimeofday()
- From: Alexander Neundorf <neundorf at kde dot org>
- To: Andrew Lunn <andrew at lunn dot ch>
- Cc: eCos Patches <ecos-patches at ecos dot sourceware dot org>
- Date: Sun, 23 Oct 2005 23:44:21 +0200
- Subject: Re: [ECOS] ecos and gettimeofday()
- References: <200509292331.26058.neundorf@kde.org> <200510122012.02095.neundorf@kde.org> <20051023210844.GD4266@lunn.ch>
- Reply-to: neundorf at kde dot org
On Sunday 23 October 2005 23:08, Andrew Lunn wrote:
> OK. It took a while, but here it is. It took a while to fix all the
Very nice, I'll have a look :-)
...
> package being disabled. And some bits of code wrongly assume <time.h>
> defines timeval when in fact <sys/time.h> does.
How could this lead to problems ?
isoinfra/time.h includes isoinfra/sys/time unconditionally, and sys/time.h
defines timeval itself if POSIX_CLOCKS is not defined.
Bye
Alex
--
Work: alexander.neundorf@jenoptik.com - http://www.jenoptik-los.de
Home: neundorf@kde.org - http://www.kde.org
alex@neundorf.net - http://www.neundorf.net