compiled newlib, need to hook up the system calls

This commit is contained in:
2026-06-28 17:58:58 -05:00
parent 43bc0df81a
commit 97357f3170
337 changed files with 47955 additions and 114 deletions

View File

@@ -0,0 +1,30 @@
/* Alignment <stdalign.h>
This file is part of the Public Domain C Library (PDCLib).
Permission is granted to use, modify, and / or redistribute at will.
*/
#ifndef _PDCLIB_STDALIGN_H
#define _PDCLIB_STDALIGN_H _PDCLIB_STDALIGN_H
#ifndef __cplusplus
#define __alignas_is_defined 1
#define __alignof_is_defined 1
#if ! defined( __STDC_VERSION__ ) || ( __STDC_VERSION__ < 202311L )
#define alignas _Alignas
#define alignof _Alignof
#elif __STDC_VERSION__ >= 202311L
#warning <stdalign.h> has been deprecated as of C23.
#endif
#endif
/* Extension hook for downstream projects that want to have non-standard
extensions to standard headers.
*/
#ifdef _PDCLIB_EXTEND_STDALIGN_H
#include _PDCLIB_EXTEND_STDALIGN_H
#endif
#endif