commit | ecab71fbac3e14ca2f7f4b83081830c6ac9539ba | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Mon May 09 19:46:35 2022 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Mon May 09 20:32:11 2022 +0200 |
tree | ec280fc57e4db92314ba4bf5adcc380f37e521ae | |
parent | 4fc2cd7c8e30fde56ab46d2b945615617b45e0f7 [diff] |
BUILD: stats: conditionally mark obsolete stats states as deprecated The obsolete stats states STAT_ST_* were marked as deprecated with recent commit 6ef1648dc ("CLEANUP: stats: rename the stats state values an mark the old ones deprecated"), except that this feature requires gcc 6 and above. Let's use the macro that depends on this condition instead. The issue appeared on 2.6-dev9 so no backport is needed.