error: 'ntohs' was not declared in this scope
lotem opened this issue · 0 comments
lotem commented
> This should work on Windows; does Linux need to include a header? Or perhaps we only care about Windows this time.
No need to include header in *nix and Android (Boost Asio also doesn't include any one).
Originally posted by @WhiredPlanck in #4 (comment)
This seems to cause docker build to fail:
https://github.com/rime/librime/actions/runs/8317143912/job/22757546568?pr=854
#13 7.236 /librime/plugins/charcode/src/codepoint_translator.cc:70:13: error: 'ntohs' was not declared in this scope