Chromium Code Reviews| Index: third_party/libusb/libusb/os/poll_posix.h |
| diff --git a/third_party/libusb/libusb/os/poll_posix.h b/third_party/libusb/libusb/os/poll_posix.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..0e5e7f5b720b112441663ee3bf9c6483689693ed |
| --- /dev/null |
| +++ b/third_party/libusb/libusb/os/poll_posix.h |
| @@ -0,0 +1,10 @@ |
| +#ifndef LIBUSB_POLL_POSIX_H |
| +#define LIBUSB_POLL_POSIX_H |
| + |
| +#define usbi_write write |
| +#define usbi_read read |
| +#define usbi_close close |
| +#define usbi_pipe pipe |
| +#define usbi_poll poll |
| + |
| +#endif /* LIBUSB_POLL_POSIX_H */ |