summaryrefslogtreecommitdiff
path: root/lib9p/internal.h
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2024-10-04 16:43:55 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2024-10-04 16:43:55 -0600
commitb683e779ef83b88f6ffc503a1d1a4f3ec25a5cfa (patch)
treebadfd2670fdccc471883840c27b5a9bfc5b4b92a /lib9p/internal.h
parent6cb0e025b973c60bcaa1506b92087dd963e45d31 (diff)
wip srv
Diffstat (limited to 'lib9p/internal.h')
-rw-r--r--lib9p/internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib9p/internal.h b/lib9p/internal.h
index 40cfcee..cbec829 100644
--- a/lib9p/internal.h
+++ b/lib9p/internal.h
@@ -27,6 +27,8 @@ static_assert(CONFIG_9P_MAX_ERR_SIZE + CONFIG_9P_MAX_MSG_SIZE + 2*CONFIG_9P_MAX_
#define ALWAYS_INLINE inline __attribute__((always_inline))
#define FLATTEN __attribute__((flatten))
#define ARRAY_LEN(arr) (sizeof(arr)/sizeof((arr)[0]))
+#define CAT2(a, b) a##b
+#define CAT3(a, b, c) a##b##c
/* types **********************************************************************/