diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/libc-symbols.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/libc-symbols.h b/include/libc-symbols.h index e491aff5f..e5e3356fb 100644 --- a/include/libc-symbols.h +++ b/include/libc-symbols.h @@ -82,6 +82,12 @@ # define IS_IN_libc 1 #endif +/* Indirect stringification. Doing two levels allows + * the parameter to be a macro itself. + */ +#define __stringify_1(x) #x +#define __stringify(x) __stringify_1(x) + #ifdef __UCLIBC_HAVE_ASM_SET_DIRECTIVE__ # define HAVE_ASM_SET_DIRECTIVE #else |