Fix compilation on systems with older compilers.
commit2c00ad36cd6808423821fc32a072a7f16e8509e5
authorAlexander Færøy <ahf@torproject.org>
Thu, 10 Jun 2021 20:04:13 +0000 (10 20:04 +0000)
committerAlexander Færøy <ahf@torproject.org>
Fri, 18 Jun 2021 18:14:07 +0000 (18 18:14 +0000)
tree56fb08012b28eef6dfd367a511e1833a11d0c319
parent91aec8dbc158a60ee3a521d20eae1d0d71adbbaa
Fix compilation on systems with older compilers.

This patch fixes a build error with GCC 7.x which doesn't seem to accept
const int's as constants in macro initialization.

See: tpo/core/tor#40410
changes/ticket40410 [new file with mode: 0644]
src/feature/dirclient/dirclient.c