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
This commit is contained in:
Alexander Færøy
2021-06-10 20:04:13 +00:00
committed by David Goulet
parent 7c4fd150cd
commit 31fa3cc1a0
2 changed files with 5 additions and 2 deletions
+4
View File
@@ -0,0 +1,4 @@
o Minor bugfixes (compilation):
- Fix a compilation error when trying to build Tor with a compiler that
does not support expanding statitically initialized const values in
macro's. Fixes bug 40410; bugfix on 0.4.6.5.