[all-commits] [llvm/llvm-project] 7440c0: [mlir] Add header file for ssize_t

Ashay Rane via All-commits all-commits at lists.llvm.org
Fri Jan 6 12:30:21 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7440c0ca6cb516c94b49181ec0bc7e5a953d1917
      https://github.com/llvm/llvm-project/commit/7440c0ca6cb516c94b49181ec0bc7e5a953d1917
  Author: Ashay Rane <ashay at users.noreply.github.com>
  Date:   2023-01-06 (Fri, 06 Jan 2023)

  Changed paths:
    M mlir/lib/Bindings/Python/PybindUtils.h

  Log Message:
  -----------
  [mlir] Add header file for ssize_t

ssize_t is part of POSIX and not standard C/C++, so using ssize_t
without the necessary header files causes the build to fail on Windows
with the following error: 'ssize_t': undeclared identifier.

This patch includes llvm/Support/DataTypes.h to resolve the problem.

Differential Revision: https://reviews.llvm.org/D141149




More information about the All-commits mailing list