aboutsummaryrefslogtreecommitdiff
path: root/libc/inc/def.h
diff options
context:
space:
mode:
authorMarvin Borner2021-02-27 18:24:38 +0100
committerMarvin Borner2021-02-27 18:24:38 +0100
commit7304e20731980078a7bfe138a20a8d13653fed7b (patch)
treefbfce00a6a8017f842e8a165b563ab15a094eb84 /libc/inc/def.h
parent4309322f9d2b3e31421a3cc5399ab1f4368e0652 (diff)
Started basic paging port from skiftOS
Diffstat (limited to 'libc/inc/def.h')
-rw-r--r--libc/inc/def.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/inc/def.h b/libc/inc/def.h
index c8b9dbf..945ccb0 100644
--- a/libc/inc/def.h
+++ b/libc/inc/def.h
@@ -26,6 +26,8 @@ typedef unsigned long long u64;
#define UNUSED(a) ((void)(a))
#define NO_SANITIZE __attribute__((no_sanitize("undefined")))
+#define PACKED __attribute__((packed))
+#define ALIGNED(align) __attribute__((aligned(align)))
#define EOF (-1)
#define NULL ((void *)0)