From: Martin Baute Date: Fri, 18 Mar 2016 07:34:37 +0000 (+0100) Subject: Added no-brainer headers. X-Git-Url: https://pd.if.org/git/?p=pdclib;a=commitdiff_plain;h=3044c7be997666943201e01b1a429833e826694f Added no-brainer headers. --- diff --git a/includes/stdalign.h b/includes/stdalign.h new file mode 100644 index 0000000..de806a1 --- /dev/null +++ b/includes/stdalign.h @@ -0,0 +1,17 @@ +/* Alignment + + 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_ALIGN_H _PDCLIB_ALIGN_H + +#define alignas _Alignas +#define alignof _Alignof + +#define __alignas_is_defined 1 +#define __alignof_is_defined 1 + +#endif + diff --git a/includes/stdnoreturn.h b/includes/stdnoreturn.h new file mode 100644 index 0000000..8c18143 --- /dev/null +++ b/includes/stdnoreturn.h @@ -0,0 +1,12 @@ +/* _Noreturn + + This file is part of the Public Domain C Library (PDCLib). + Permission is granted to use, modify, and / or redistribute at will. +*/ + +#ifndef _PDCLIB_STDNORETURN_H +#define _PDCLIB_STDNORETURN_H _PDCLIB_STDNORETURN_H + +#define noreturn _Noreturn + +#endif