[libcxx-commits] [PATCH] D104987: Use GetSystemTimePreciseAsFileTime() if available

Martin Storsjö via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sat Jul 10 05:47:43 PDT 2021


mstorsjo added a comment.

In D104987#2868832 <https://reviews.llvm.org/D104987#2868832>, @Prince213 wrote:

> If we are targeting windows 8+, GetSystemTimePreciseAsFileTime should be available and there's no need to check for it.
> If that's not the case, we try to detect and cache the function to use.
>
> This seems better and more simple.

In windows 8 store apps, the new function isn’t available. It only became available to store apps in win 10.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D104987/new/

https://reviews.llvm.org/D104987



More information about the libcxx-commits mailing list