diff --git a/src/util/afsutil.h b/src/util/afsutil.h index bd78946b4e..bbebcc16d8 100644 --- a/src/util/afsutil.h +++ b/src/util/afsutil.h @@ -121,6 +121,11 @@ extern int re_exec(const char *p1); /* b64_string_t is 8 bytes, in stds.h */ typedef char lb64_string_t[12]; +/* A simple macro to help show the value of #define'd constants. e.g. If 'FOO' + * is defined as 5, then AFS_STRINGIZE(FOO) expands to "5" */ +#define AFS_STRINGIZE_(s) #s +#define AFS_STRINGIZE(s) AFS_STRINGIZE_(s) + #include #include "afsutil_prototypes.h"