diff options
Diffstat (limited to 'libusbx-1.0.18/libusb/os/poll_posix.h')
-rw-r--r-- | libusbx-1.0.18/libusb/os/poll_posix.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libusbx-1.0.18/libusb/os/poll_posix.h b/libusbx-1.0.18/libusb/os/poll_posix.h new file mode 100644 index 0000000..5b4b2c9 --- /dev/null +++ b/libusbx-1.0.18/libusb/os/poll_posix.h @@ -0,0 +1,11 @@ +#ifndef LIBUSB_POLL_POSIX_H +#define LIBUSB_POLL_POSIX_H + +#define usbi_write write +#define usbi_read read +#define usbi_close close +#define usbi_poll poll + +int usbi_pipe(int pipefd[2]); + +#endif /* LIBUSB_POLL_POSIX_H */ |