From 3ad39e9878310e5317ee73c9b353c1e2c1c5c4ee Mon Sep 17 00:00:00 2001 From: Richard Qin Date: Sat, 11 Jul 2026 22:48:30 +0800 Subject: lib: establish Zircon libc++ and KTL foundation --- lib/ktl/include/cstdint | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 lib/ktl/include/cstdint (limited to 'lib/ktl/include/cstdint') diff --git a/lib/ktl/include/cstdint b/lib/ktl/include/cstdint new file mode 100644 index 0000000..0ab922c --- /dev/null +++ b/lib/ktl/include/cstdint @@ -0,0 +1,18 @@ +// Copyright 2022 The Fuchsia Authors +// +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file or at +// https://opensource.org/licenses/MIT + +#pragma once + +// Other libc++ headers use but libc++'s complains if it +// thinks is not its own wrapper, so we define _LIBCPP_STDINT_H. We +// always get the real before the libc++ with the way the include +// paths are set up, which is necessary because of other headers where +// preempting libc++'s header is unavoidable for the kernel environment. + +#include + +#define _LIBCPP_STDINT_H +#include_next -- cgit v1.2.3