[libc] Bring libc in-tree
Moving libc from its separate repo into this one, minor resulting build fixes, and a hacky way to add -I for libc headers in builds.
This commit is contained in:
12
src/libraries/libc/include/stdalign.h
Normal file
12
src/libraries/libc/include/stdalign.h
Normal file
@@ -0,0 +1,12 @@
|
||||
#pragma once
|
||||
/* 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.
|
||||
*/
|
||||
|
||||
#define alignas _Alignas
|
||||
#define alignof _Alignof
|
||||
|
||||
#define __alignas_is_defined 1
|
||||
#define __alignof_is_defined 1
|
||||
Reference in New Issue
Block a user