[all-commits] [llvm/llvm-project] 59b310: [libc++] chrono: check _POSIX_TIMERS before using ...

LittleFox via All-commits all-commits at lists.llvm.org
Thu May 7 10:15:36 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 59b3102739c5988c9fc7ea77888de1bc8ce9c8ab
      https://github.com/llvm/llvm-project/commit/59b3102739c5988c9fc7ea77888de1bc8ce9c8ab
  Author: Mara Sophie Grosch <littlefox at lf-net.org>
  Date:   2020-05-07 (Thu, 07 May 2020)

  Changed paths:
    M libcxx/src/chrono.cpp
    M libcxx/src/filesystem/operations.cpp

  Log Message:
  -----------
  [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




More information about the All-commits mailing list