diff options
| author | Richard Qin <richard.qin.x@gmail.com> | 2026-07-11 22:48:30 +0800 |
|---|---|---|
| committer | Richard Qin <richard.qin.x@gmail.com> | 2026-07-11 22:48:30 +0800 |
| commit | 3ad39e9878310e5317ee73c9b353c1e2c1c5c4ee (patch) | |
| tree | 4bd5a49ef60ad1e371c0984cd46838368c5ef83a /scripts/build/probes/libc_headers.c | |
| parent | 48ef95c24e9ac3d11200b61af617a01b10b507d1 (diff) | |
| download | lume-3ad39e9878310e5317ee73c9b353c1e2c1c5c4ee.tar.gz lume-3ad39e9878310e5317ee73c9b353c1e2c1c5c4ee.tar.xz | |
lib: establish Zircon libc++ and KTL foundation
Diffstat (limited to 'scripts/build/probes/libc_headers.c')
| -rw-r--r-- | scripts/build/probes/libc_headers.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/build/probes/libc_headers.c b/scripts/build/probes/libc_headers.c new file mode 100644 index 0000000..e4bdd20 --- /dev/null +++ b/scripts/build/probes/libc_headers.c @@ -0,0 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ + +#include <assert.h> +#include <inttypes.h> +#include <stdint.h> +#include <stdio.h> +#include <stdlib.h> +#include <string.h> + +_Static_assert(sizeof(uintptr_t) == sizeof(void*), "uintptr_t must hold a pointer"); |
