This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Add gettimeofday to libiberty


> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]