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] |
On Mon, 2009-11-23 at 12:50 +0100, Eric Botcazou wrote: > > AIX is using s-taprop-posix.adb and provides clock_gettime > > through s-osinte-aix.ads implemented in s-osinte-aix.adb with > > gettimeofday/struct_timeval. Same for darwin. > > Gosh. :-) Still the idea of removing the interface and localizing the > conversion in the problematic function, as you did for Linux, seems right. > > > I'm working on a patch. Here is what I came up with, only aix and darwin needed special treatment, other are pure removals / comments. I compiled what I could locally. Interestingly s-osinte-darwin.ads already depends on the generated s-oscons. I also forgot to remove a few lines from s-osinte-linux.ads in my previous patch so it's done by this one. If this looks okay I'll submit it properly with a ChangeLog. Laurent
Attachment:
patch-ada-all-timeval-v1.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |