diff options
| author | Mel <mel@rnrd.eu> | 2026-01-22 03:55:02 +0100 |
|---|---|---|
| committer | Mel <mel@rnrd.eu> | 2026-01-22 03:55:02 +0100 |
| commit | 7f5d765c929a4dc2deddb7b68a41a3a841940837 (patch) | |
| tree | c442166ede9f6b4c3a82621a39d754dde8c407ac /boot/runtime/core.c | |
| parent | 30b04e4b2a90981570ae04095aeccd746ccdea6a (diff) | |
| download | catskill-7f5d765c929a4dc2deddb7b68a41a3a841940837.tar.zst catskill-7f5d765c929a4dc2deddb7b68a41a3a841940837.zip | |
LLVM clang compiler backend
Signed-off-by: Mel <mel@rnrd.eu>
Diffstat (limited to 'boot/runtime/core.c')
| -rw-r--r-- | boot/runtime/core.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/boot/runtime/core.c b/boot/runtime/core.c index c911666..f6c4ef8 100644 --- a/boot/runtime/core.c +++ b/boot/runtime/core.c @@ -4,13 +4,16 @@ * used during bootstrapping, while the full * catskill standard library is not yet available. * - * copyright (c) 2025, mel g. <mel@rnrd.eu> + * Copyright (c) 2025-2026, Mel G. <mel@rnrd.eu> * - * spdx-license-identifier: mpl-2.0 + * SPDX-License-Identifier: MPL-2.0 */ #pragma once +// enable some posix-only functions, like `fileno`. +#define _POSIX_C_SOURCE 200809L + // common headers for both your average catskill program. // other libc headers can be included with the pragma // `| c-header "header.h"`. |
