[all-commits] [llvm/llvm-project] 673b6c: [libc] Use `stdio.h` for `off_t` instead of `unist...

Joseph Huber via All-commits all-commits at lists.llvm.org
Mon Jul 8 18:12:55 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 673b6cd104beddac08cec46e7cbf74d7fcc44abc
      https://github.com/llvm/llvm-project/commit/673b6cd104beddac08cec46e7cbf74d7fcc44abc
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M libc/src/__support/File/file.h

  Log Message:
  -----------
  [libc] Use `stdio.h` for `off_t` instead of `unistd.h` (#98093)

Summary:
The `stdio.h` header should define `off_t` as defined for the platform.
This will use the system's in overlay mode, or what the llvm-libc-types
deems correct. If this `off_t` is incorrect it should be changed in
`llvm-libc-types`. This fixes the GPU build.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list