[Mingw-users] clock_gettime and CLOCK_REALTIME

アーカイブの一覧に戻る

Keith Marshall keith****@users*****
Tue Sep 4 05:01:01 JST 2018


On 30/07/18 16:13, Eli Zaretskii wrote:
>> I suspect that the solution for clock_gettime() is trivial.
>> Although POSIX.1-2008 may not strictly require them, it does allow,
>> and it would certainly be prudent to add, self-referencing macro
>> aliases for the two symbolic constants.
>> 
>> Does the [previously attached] replacement for $MINGW_ROOT/include/time.h
>> provide a satisfactory work-around?
>
> It will most definitely solve the problem, because all that is
> needed is for CLOCK_REALTIME to be a macro which can be tested by
> "#if defined".

I've incorporated that proposed change into WSL-5.1.1, which I've just
published at https://osdn.net/projects/mingw/releases/p15587

The additional problem, which I identified during my recent attempt to
build GCC-8.2.0, will be addressed in WSL-5.2

-- 
Regards,
Keith.

Public key available from keys.gnupg.net
Key fingerprint: C19E C018 1547 DE50 E1D4 8F53 C0AD 36C6 347E 5A3F

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
Url : https://lists.osdn.me/mailman/archives/mingw-users/attachments/20180903/c4ee8c3d/attachment.pgp 



More information about the MinGW-Users mailing list
アーカイブの一覧に戻る