]> git.ipfire.org Git - thirdparty/haproxy.git/commit
REORG: compat: move some integer limit definitions from standard.h to compat.h
authorWilly Tarreau <w@1wt.eu>
Mon, 20 May 2019 17:10:52 +0000 (19:10 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 20 May 2019 17:59:34 +0000 (19:59 +0200)
commite3e2b7283fa748c873b7e0c4ab6700822ecd030c
treeb85cec6e68d2d0663fd1e762888f7a456bb47b3f
parenta9f9fc9e5b82524627547e3c4e95b720ab33ae60
REORG: compat: move some integer limit definitions from standard.h to compat.h

Historically standard.h was the location where we used to (re-)define the
standard set of macros and functions, and to complement the ones missing
on the target OS. Over time it has become a toolbox in itself relying on
many other things, and its definition of LONGBITS is used everywhere else
(e.g. for MAX_THREADS), resulting in painful circular dependencies.

Let's move these few defines (integer sizes) to compat.h where other
similar definitions normally are.
include/common/compat.h
include/common/standard.h