aboutsummaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
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))