Re: [Mingw-w64-public] [PATCH] headers/crt: Add timespec_get in time.h

2021-12-17 Thread Martin Storsjö
On Sun, 12 Dec 2021, Martin Storsjö wrote: On Sun, 12 Dec 2021, Biswapriyo Nath wrote: 2. The declarations in WinSDK have const parameters but glibc does not. Which is the correct one? Not sure offhand - let me study it and get back to you. The const-ness that you're referring to is irrele

Re: [Mingw-w64-public] [PATCH] headers/crt: Add timespec_get in time.h

2021-12-12 Thread Martin Storsjö
On Sun, 12 Dec 2021, Biswapriyo Nath wrote: Questions. 1. _timespec32_get and _timespec64_get are only exported from ucrtbase.dll. Do the declarations need `#if _UCRT` condition? Yes, that'd probably be ideal. (And that should probably be #ifdef then.) 2. The declarations in WinSDK have cons

[Mingw-w64-public] [PATCH] headers/crt: Add timespec_get in time.h

2021-12-12 Thread Biswapriyo Nath
Questions. 1. _timespec32_get and _timespec64_get are only exported from ucrtbase.dll. Do the declarations need `#if _UCRT` condition? 2. The declarations in WinSDK have const parameters but glibc does not. Which is the correct one? From 37ab843c234f16bfb7fef94769d76cf4d2dd8f6e Mon Sep 17 00:00:00