[libc-commits] [PATCH] D156961: [libc] Add limits.h

Alfred Persson Forsberg via Phabricator via libc-commits libc-commits at lists.llvm.org
Fri Aug 4 01:30:51 PDT 2023


alfredfo added a comment.

Yeah prob should be provided by both :)

  /* System headers include a number of constants from POSIX in <limits.h>.
     Include it if we're hosted. */
  #if __STDC_HOSTED__ && __has_include_next(<limits.h>)
  #include_next <limits.h>
  #endif

https://github.com/llvm/llvm-project/blob/eac78fdf68f58e113b2cf18a14baccb8f5ebcf50/clang/lib/Headers/limits.h#L18


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D156961



More information about the libc-commits mailing list