]> pd.if.org Git - pdclib/blobdiff - includes/stdalign.h
Sweeping cleanups. Sorry for the massive commit; I got sidetracked once too often.
[pdclib] / includes / stdalign.h
diff --git a/includes/stdalign.h b/includes/stdalign.h
new file mode 100644 (file)
index 0000000..0bc20f6
--- /dev/null
@@ -0,0 +1,17 @@
+/* Alignmend <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
+