summaryrefslogtreecommitdiffhomepage
path: root/src/loader/inc/def.h
diff options
context:
space:
mode:
authorMarvin Borner2021-07-07 19:13:11 +0200
committerMarvin Borner2021-07-07 19:13:11 +0200
commit9a2d5cbdc7972d1d5bfb1ea93f82f66d113faa17 (patch)
tree08ceb8427b64a08c89a5526dfbf8b66c78f9d12c /src/loader/inc/def.h
parent6355c3e08c9f4d3db122252abce5837c364d5b81 (diff)
Strange implementations
Diffstat (limited to 'src/loader/inc/def.h')
-rw-r--r--src/loader/inc/def.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/loader/inc/def.h b/src/loader/inc/def.h
index 3532bc1..a8ee30b 100644
--- a/src/loader/inc/def.h
+++ b/src/loader/inc/def.h
@@ -25,6 +25,9 @@ typedef __builtin_va_list va_list;
#define COUNT(a) (sizeof(a) / sizeof 0 [a])
#define UNUSED(a) ((void)a);
+#define STRINGIFY_PARAM(a) #a
+#define STRINGIFY(a) STRINGIFY_PARAM(a)
+
#define PACKED __attribute__((packed))
#endif