This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: Add gettimeofday to libiberty
- From: DJ Delorie <dj at redhat dot com>
- To: dannysmith at users dot sourceforge dot net
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 10 Mar 2005 15:51:52 -0500
- Subject: Re: PATCH: Add gettimeofday to libiberty
- References: <001001c5254c$e1b90b30$1d4861cb@DANNY>
> Would a patch that uses win32api time function
> (GetSystemTimeAsFileTime) to get microsecond resolution be
> acceptable, guarded with #ifdef __MINGW32__ ?
Since the whole point of libiberty is to hide these kinds of things,
yes, such a patch would be acceptable. No rush ;-)
Just make sure it works everywhere that it's enabled for.