git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
feat: kprintf now goes into dedicated pseudo-dev rather than flooding the framebuffer
[lunaix-os.git]
/
lunaix-os
/
includes
/
lunaix
/
compiler.h
diff --git
a/lunaix-os/includes/lunaix/compiler.h
b/lunaix-os/includes/lunaix/compiler.h
index 72bffb713b5c4ec136323ac3d4c4d7d4a6c7437e..314afd95e297948b6d3596f341ed6f770c32c819 100644
(file)
--- a/
lunaix-os/includes/lunaix/compiler.h
+++ b/
lunaix-os/includes/lunaix/compiler.h
@@
-7,4
+7,8
@@
#define weak_alias(name) __attribute__((weak, alias(name)))
#define weak __attribute__((weak))
#define noret __attribute__((noreturn))
+
+#define stringify(v) #v
+#define stringify__(v) stringify(v)
+
#endif /* __LUNAIX_COMPILER_H */