]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: solaris: fix compilation errors
authormatthias sweertvaegher <178714+mx1up@users.noreply.github.com>
Fri, 23 Feb 2024 16:05:01 +0000 (17:05 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 9 Mar 2024 10:24:54 +0000 (11:24 +0100)
commit062ea3a3d418db318e423d70ec46308eeb5fdb4b
treed3b6809a7d4946bc59e9dc1f5b9e32223bb88b3b
parent88e141b823f5f4ad3c98ac50541ff7ce8ed2ec28
BUILD: solaris: fix compilation errors

Compilation on solaris fails because of usage of names reserved on that
platform, i.e. 'queue' and 's_addr'.

This patch redefines 'queue' as '_queue' and renames 's_addr' to
'srv_addr' which fixes compilation for now.

Future plan: rename 'queue' in code base so define can be removed again.

Backporting: 2.9, 2.8
include/haproxy/compat.h
src/server.c