diff options
author | Dudemanguy <random342@airmail.cc> | 2023-09-17 21:59:16 -0500 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2023-10-10 19:10:55 +0000 |
commit | ba4b408b8bdc2aa0059abaaffe8b16f28aec480b (patch) | |
tree | b4bfe0dc0f5d08e2eb1a596ddb64635c793accc3 /osdep/polldev.h | |
parent | a899e14bccb667af243f8fce454160e17ae45c2a (diff) | |
download | mpv-ba4b408b8bdc2aa0059abaaffe8b16f28aec480b.tar.bz2 mpv-ba4b408b8bdc2aa0059abaaffe8b16f28aec480b.tar.xz |
osdep: rename polldev to poll_wrapper
Originally, this was added as purely a shim for macOS. However since we
want to do high resolution polling which is not neccesarily available on
all platforms, making this a generic wrapper for poll functions is
useful so rename it.
Diffstat (limited to 'osdep/polldev.h')
-rw-r--r-- | osdep/polldev.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/osdep/polldev.h b/osdep/polldev.h deleted file mode 100644 index 8593c1e77c..0000000000 --- a/osdep/polldev.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#include <poll.h> - -// Behaves like poll(3) but works for device files on macOS. -// Only supports POLLIN and POLLOUT. -int polldev(struct pollfd fds[], nfds_t nfds, int timeout); |