[libcxx-commits] [PATCH] D79305: chrono: check _POSIX_TIMERS before using clock_gettime

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu May 7 10:15:56 PDT 2020


ldionne added a comment.

Thanks! Committed as

  commit 59b3102739c5988c9fc7ea77888de1bc8ce9c8ab
  Author: Mara Sophie Grosch <littlefox at lf-net.org>
  Date:   Thu May 7 12:10:33 2020 -0400
  
      [libc++] chrono: check _POSIX_TIMERS before using clock_gettime
  
      clock_gettime is documented to be available when _POSIX_TIMERS is
      defined. Add a check for this.
  
      Differential Revision: https://reviews.llvm.org/D79305


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D79305





More information about the libcxx-commits mailing list