]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: compiler: add a simple macro to concatenate resolved strings
authorWilly Tarreau <w@1wt.eu>
Wed, 12 Mar 2025 17:06:55 +0000 (18:06 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 12 Mar 2025 17:06:55 +0000 (18:06 +0100)
commitbb4addabb742f2305ad6667ed42ebb12f5df2af3
treeec3b431ebb4fb4201913f9eeaa45043034fbb4b8
parent12383fd9f5b3614dbffec6260b82659c3c5fd0df
MINOR: compiler: add a simple macro to concatenate resolved strings

It's often useful to be able to concatenate strings after resolving
them (e.g. __FILE__, __LINE__ etc). Let's just have a CONCAT() macro
to do that, which calls _CONCAT() with the same arguments to make
sure the contents are resolved before being concatenated.
include/haproxy/compiler.h