commit | c03ea4076378d806264550055a6d7e2c688d54e6 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Mon Jul 30 11:47:35 2018 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Mon Jul 30 11:49:35 2018 +0200 |
tree | e834d1c6f007883a5ce78489755a08f85b1edcfa | |
parent | 7fec02153712e5d823ec7a7593b7af0963111a6f [diff] |
BUILD/MINOR: compiler: fix offsetof() on older compilers An offsetof() macro was introduced with commit 928fbfa ("MINOR: compiler: introduce offsetoff().") with a fallback for older compilers. But this breaks gcc 3.4 because __size_t and __uintptr_t are not defined there. However size_t and uintptr_t are, so let's fix it this way. No backport needed.