[libc-commits] [libc] [libc][annex_k] Add rsize_t. (PR #163238)

Michael Jones via libc-commits libc-commits at lists.llvm.org
Wed Mar 18 16:55:23 PDT 2026


================
@@ -0,0 +1,22 @@
+//===-- Definition of rsize_t types ---------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_LIBC_TYPES_RSIZE_T_H
+#define LLVM_LIBC_TYPES_RSIZE_T_H
+
+#include "../llvm-libc-macros/annex-k-macros.h"
+
+#ifdef LIBC_HAS_ANNEX_K
+
+#include "./size_t.h"
----------------
michaelrj-google wrote:

nit: why is this `./size_t.h` instead of just `size_t.h`?

https://github.com/llvm/llvm-project/pull/163238


More information about the libc-commits mailing list