summaryrefslogtreecommitdiff
path: root/rt/stddef.h
diff options
context:
space:
mode:
Diffstat (limited to 'rt/stddef.h')
-rw-r--r--rt/stddef.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/rt/stddef.h b/rt/stddef.h
new file mode 100644
index 0000000..83d9957
--- /dev/null
+++ b/rt/stddef.h
@@ -0,0 +1,8 @@
+#ifndef RT_STDDEF_H
+#define RT_STDDEF_H
+
+#define nil ((void*)0)
+
+#define ALIGN_UP(X, F) ((X) - (X) % (F) + (F))
+
+#endif \ No newline at end of file