0
0
mirror of https://github.com/hufrea/byedpi.git synced 2025-06-30 02:31:15 +00:00

Workaround Apple poll API docs violation (#266)

This commit is contained in:
cerg2010cerg2010 2025-02-13 19:25:29 +03:00 committed by GitHub
parent 8c33de2bf9
commit ad196de548
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -30,7 +30,9 @@
#endif
#endif
#ifndef POLLRDHUP
#ifdef __APPLE__
#define POLLRDHUP POLLHUP
#elif !defined POLLRDHUP
#define POLLRDHUP 0
#endif
#define POLLTIMEOUT 0