[libc-commits] [libc] [libc][annex_k] Add rsize_t. (PR #163238)
Victor Campos via libc-commits
libc-commits at lists.llvm.org
Fri Mar 20 05:10:28 PDT 2026
================
@@ -0,0 +1,23 @@
+//===-- Proxy for rsize_t -------------------------------------------------===//
+//
+// 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_HDR_TYPES_SIZE_T_H
+#define LLVM_LIBC_HDR_TYPES_SIZE_T_H
+
+#ifdef LIBC_FULL_BUILD
+
+#include "include/llvm-libc-types/rsize_t.h"
+
----------------
vhscampos wrote:
This is inconsistent with the way it was done for errno_t.
You need to define STDC_WANT here, otherwise the type won't be made available internally.
https://github.com/llvm/llvm-project/pull/163238
More information about the libc-commits
mailing list