diff options
Diffstat (limited to 'chad/experimental/bits.h')
| -rw-r--r-- | chad/experimental/bits.h | 4 |
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 |
