diff --git a/include/haproxy/compiler.h b/include/haproxy/compiler.h index ced25b229..de55fe95b 100644 --- a/include/haproxy/compiler.h +++ b/include/haproxy/compiler.h @@ -283,6 +283,10 @@ #define _TOSTR(x) #x #define TOSTR(x) _TOSTR(x) +/* concatenates the two strings after resolving possible macros */ +#define _CONCAT(a,b) a ## b +#define CONCAT(a,b) _CONCAT(a,b) + /* * Gcc >= 3 provides the ability for the program to give hints to the * compiler about what branch of an if is most likely to be taken. This