]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: compiler: define __builtin_prefetch() for tcc
authorWilly Tarreau <w@1wt.eu>
Tue, 5 Nov 2024 14:41:57 +0000 (15:41 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 5 Nov 2024 14:43:17 +0000 (15:43 +0100)
commitb300db55f6452ae947e39c08d57db23934cf02f0
treea9d745936da4aff4acb7c07ab5e5e95865b20ff2
parent033db091fc375b62363235c061ba5838e965e606
BUILD: compiler: define __builtin_prefetch() for tcc

We're using a few occurrences of __builtin_prefetch() but tcc doesn't
know about it so let's give it a dummy definition. Now the code builds
and works again with tcc without thread support.
include/haproxy/compiler.h