diff options
author | Alexander Færøy <ahf@torproject.org> | 2021-02-05 17:12:52 +0000 |
---|---|---|
committer | Alexander Færøy <ahf@torproject.org> | 2021-10-29 16:52:18 +0000 |
commit | 5c8deef9b67f7bf983dd96164c118317422c236b (patch) | |
tree | 1a158b6bf622556c870c2e024b037f0730ce2b2c /scripts | |
parent | 92fedb9f448555abbbde6ac5c73b9de0a2ba7932 (diff) | |
download | tor-5c8deef9b67f7bf983dd96164c118317422c236b.tar.gz tor-5c8deef9b67f7bf983dd96164c118317422c236b.zip |
Fix Windows build.
While trying to resolve our CI issues, the Windows build broke with an
unused function error:
src/test/test_switch_id.c:37:1: error: ‘unprivileged_port_range_start’
defined but not used [-Werror=unused-function]
We solve this by moving the `#if !defined(_WIN32)` test above the
`unprivileged_port_range_start()` function defintion such that it is
included in its body.
This is an unreviewed commit.
See: tor#40275
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions