Fix compilation on systems with older compilers.
commit31fa3cc1a0021ff6ad7e1048b56ccab54e908fdc
authorAlexander Færøy <ahf@torproject.org>
Thu, 10 Jun 2021 20:04:13 +0000 (10 20:04 +0000)
committerDavid Goulet <dgoulet@torproject.org>
Thu, 28 Oct 2021 14:37:45 +0000 (28 10:37 -0400)
treeb26ca5da5f027aef067d2cb4a349800128060b76
parent7c4fd150cd19ebdafe64b800282184014b43d9fb
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