aboutsummaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorMarvin Borner2021-04-29 14:36:40 +0200
committerMarvin Borner2021-04-29 14:36:40 +0200
commitf8e47b6b0c0578c52d82c0e243620361b87a4abe (patch)
treee42d898d299b7aa10c8f266d347b4fda5a5967f3 /libs
parent04104fc051d44f4f9b3328f29b4be91fa4060f34 (diff)
Multiboot/Grub progress
Diffstat (limited to 'libs')
-rw-r--r--libs/libc/inc/def.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/libc/inc/def.h b/libs/libc/inc/def.h
index 134d8bb..cf49c63 100644
--- a/libs/libc/inc/def.h
+++ b/libs/libc/inc/def.h
@@ -30,6 +30,9 @@ typedef unsigned long long u64;
#define ABS(a) ((u32)(((s32)(a) < 0) ? -(a) : (a)))
+#define __STRINGIFY(a) #a
+#define STRINGIFY(a) __STRINGIFY(a)
+
#define ATTR __attribute__
#define NORETURN ATTR((noreturn))
#define NOINLINE ATTR((noinline))