aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chad/experimental/bits.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/chad/experimental/bits.h b/chad/experimental/bits.h
index a1518e2..d2834a8 100644
--- a/chad/experimental/bits.h
+++ b/chad/experimental/bits.h
@@ -8,7 +8,9 @@
#define MIN(x, y) (((x) < (y)) ? (x) : (y))
#define MAX(x, y) (((x) > (y)) ? (x) : (y))
-#define STRINGIFY(x) #x
+
+#define _STRINGIFY(...) # __VA_ARGS__
+#define STRINGIFY(...) _STRINGIFY(__VA_ARGS__)
// could be a generic
static inline