]> pd.if.org Git - pdclib/commitdiff
Added no-brainer headers.
authorMartin Baute <solar@rootdirectory.de>
Fri, 18 Mar 2016 07:34:37 +0000 (08:34 +0100)
committerMartin Baute <solar@rootdirectory.de>
Fri, 18 Mar 2016 07:34:37 +0000 (08:34 +0100)
includes/stdalign.h [new file with mode: 0644]
includes/stdnoreturn.h [new file with mode: 0644]

diff --git a/includes/stdalign.h b/includes/stdalign.h
new file mode 100644 (file)
index 0000000..de806a1
--- /dev/null
@@ -0,0 +1,17 @@
+/* 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_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 (file)
index 0000000..8c18143
--- /dev/null
@@ -0,0 +1,12 @@
+/* _Noreturn <stdnoreturn.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_STDNORETURN_H
+#define _PDCLIB_STDNORETURN_H _PDCLIB_STDNORETURN_H
+
+#define noreturn _Noreturn
+
+#endif