Re: [libvirt PATCH v5 1/9] internal: Add CONCAT macro

2022-02-01 Thread Daniel P . Berrangé
On Tue, Feb 01, 2022 at 02:20:09PM +0100, Tim Wiederhake wrote: > Using the two-step idiom to force resolution of other macros, e.g.: > > #define bar BAR > CONCAT_(foo, bar) // foobar > CONCAT(foo, bar) // fooBAR > > Signed-off-by: Tim Wiederhake > --- > src/internal.h | 3 +++ >

[libvirt PATCH v5 1/9] internal: Add CONCAT macro

2022-02-01 Thread Tim Wiederhake
Using the two-step idiom to force resolution of other macros, e.g.: #define bar BAR CONCAT_(foo, bar) // foobar CONCAT(foo, bar) // fooBAR Signed-off-by: Tim Wiederhake --- src/internal.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/internal.h b/src/internal.h index