Skip to content

gh-107211: Fix select extension build on Solaris #108012

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 16, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions Include/internal/pycore_fileutils.h
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@ PyAPI_FUNC(int) _Py_stat(
PyObject *path,
struct stat *status);

extern int _Py_open(
// Export for 'select' shared extension (Solaris newDevPollObject() uses it)
PyAPI_FUNC(int) _Py_open(
const char *pathname,
int flags);

Expand All @@ -126,7 +127,8 @@ extern Py_ssize_t _Py_read(
void *buf,
size_t count);

extern Py_ssize_t _Py_write(
// Export for 'select' shared extension (Solaris devpoll_flush() uses it)
PyAPI_FUNC(Py_ssize_t) _Py_write(
int fd,
const void *buf,
size_t count);
Expand Down