[
https://issues.apache.org/jira/browse/THRIFT-5666?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Christopher Friedt updated THRIFT-5666:
---------------------------------------
Summary: lib: cpp: prefer poll.h over sys/poll.h (was: use poll.h instead
of sys/poll.h)
> lib: cpp: prefer poll.h over sys/poll.h
> ---------------------------------------
>
> Key: THRIFT-5666
> URL: https://issues.apache.org/jira/browse/THRIFT-5666
> Project: Thrift
> Issue Type: Improvement
> Components: C++ - Library
> Reporter: Christopher Friedt
> Assignee: Christopher Friedt
> Priority: Trivial
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> The sys/poll.h header is not actually specified by POSIX and is therefore
> nonportable.
> It's better to use poll.h
> See
> [https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/poll.h.html]
> [https://man7.org/linux/man-pages/man2/poll.2.html]
> PR is here
> https://github.com/apache/thrift/pull/2723
--
This message was sent by Atlassian Jira
(v8.20.10#820010)