]> git.ipfire.org Git - thirdparty/libvirt.git/commit
examples: drop some conditionals checks from macros
authorDaniel P. Berrangé <berrange@redhat.com>
Fri, 14 Jan 2022 10:34:43 +0000 (10:34 +0000)
committerDaniel P. Berrangé <berrange@redhat.com>
Mon, 17 Jan 2022 10:44:33 +0000 (10:44 +0000)
commit4166f6bc590840c3e92385df39ae4587bc24a766
tree86c0a570c283e7385c640c5262a6edbec7f2426f
parent79f738c5108e9c32656565d4a9034d5b6d25be26
examples: drop some conditionals checks from macros

We no longer need to worry about GCC version older than 7.4.0. The other
remaining conditionals checks were also overkill for the example code.
In the unlikely event that someone tries to re-use the code in a
scenario where further conditions apply they can figure out.

Reviewed-by: Ján Tomko <jtomko@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
examples/c/misc/event-test.c