Re: Please revert the patches in bug #54040 and #59346 and special case x32
> Would it be possible to have s-osinte-posix.adb also for x32 and in
> s-osinte-x32.ads use the following construct:
> ...
> type timespec is private;
> ...
> type timespec is record
> tv_sec : time_t;
> tv_nsec : long log;
> end record;
> pragma Convention (C, timespec);
>
> and similiar for timeval if needed?
>
> That's the construct other unices use now when s-osinte-posix.adb
> defines tv_nsec as time_t?
Not sure what the "now" is referring to, but if you want to revert the
original POSIX breakage in s-osinte-posix.adb, you need to define timespec
according to the POSIX spec, there is no other way.
--
Eric Botcazou
Reply to: