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

Sizhe Zhao via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sat Jul 10 05:45:10 PDT 2021


Prince213 added a comment.

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.


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

https://reviews.llvm.org/D104987



More information about the libcxx-commits mailing list