summaryrefslogtreecommitdiff
path: root/src/stdalign
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2020-08-16 15:47:08 -0400
committerJakob Kaivo <jkk@ung.org>2020-08-16 15:47:08 -0400
commit700fbd205a1a428677876d322606b9a354221892 (patch)
treec1a521f3a2ea0346f293a543a9ed4ef6c1242b77 /src/stdalign
parentd36c832edee04db91e0c0ab635980c63844ca07c (diff)
add skeleton of things from C11
Diffstat (limited to 'src/stdalign')
-rw-r--r--src/stdalign/__alignas_is_defined.c5
-rw-r--r--src/stdalign/__alignof_is_defined.c5
-rw-r--r--src/stdalign/alignas.c5
-rw-r--r--src/stdalign/alignof.c5
4 files changed, 20 insertions, 0 deletions
diff --git a/src/stdalign/__alignas_is_defined.c b/src/stdalign/__alignas_is_defined.c
new file mode 100644
index 00000000..908f81f9
--- /dev/null
+++ b/src/stdalign/__alignas_is_defined.c
@@ -0,0 +1,5 @@
+#define __alignas_is_defined (1)
+
+/*
+STDC(201112)
+*/
diff --git a/src/stdalign/__alignof_is_defined.c b/src/stdalign/__alignof_is_defined.c
new file mode 100644
index 00000000..61b0fa2b
--- /dev/null
+++ b/src/stdalign/__alignof_is_defined.c
@@ -0,0 +1,5 @@
+#define __alignof_is_defined (1)
+
+/*
+STDC(201112)
+*/
diff --git a/src/stdalign/alignas.c b/src/stdalign/alignas.c
new file mode 100644
index 00000000..c3486ae9
--- /dev/null
+++ b/src/stdalign/alignas.c
@@ -0,0 +1,5 @@
+#define alignas _Alignas
+
+/*
+STDC(201112)
+*/
diff --git a/src/stdalign/alignof.c b/src/stdalign/alignof.c
new file mode 100644
index 00000000..2ae0d90e
--- /dev/null
+++ b/src/stdalign/alignof.c
@@ -0,0 +1,5 @@
+#define alignof _Alignof
+
+/*
+STDC(201112)
+*/