From 3044c7be997666943201e01b1a429833e826694f Mon Sep 17 00:00:00 2001 From: Martin Baute Date: Fri, 18 Mar 2016 08:34:37 +0100 Subject: [PATCH] Added no-brainer headers. --- includes/stdalign.h | 17 +++++++++++++++++ includes/stdnoreturn.h | 12 ++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 includes/stdalign.h create mode 100644 includes/stdnoreturn.h 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 -- 2.40.0