diff options
| author | 2010-11-06 18:09:53 -0400 | |
|---|---|---|
| committer | 2010-11-06 18:09:53 -0400 | |
| commit | d82a73f1180a5f201397b92e6f6db33411cbe686 (patch) | |
| tree | bcc7c4ba2e103770f905972854392d8c3e448f16 /include/libusb-1.0/os/poll_posix.h | |
| parent | e89c9418e7072d5a1491055c8f78748bf82de49c (diff) | |
| download | libirecovery-d82a73f1180a5f201397b92e6f6db33411cbe686.tar.gz libirecovery-d82a73f1180a5f201397b92e6f6db33411cbe686.tar.bz2 | |
updated libirecovery to the latest version from greenpois0n. it at least compiles on osx now, I need to test on other systems
Diffstat (limited to 'include/libusb-1.0/os/poll_posix.h')
| -rw-r--r-- | include/libusb-1.0/os/poll_posix.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/libusb-1.0/os/poll_posix.h b/include/libusb-1.0/os/poll_posix.h new file mode 100644 index 0000000..17298a5 --- /dev/null +++ b/include/libusb-1.0/os/poll_posix.h | |||
| @@ -0,0 +1,12 @@ | |||
| 1 | #ifndef __LIBUSB_POLL_POSIX_H__ | ||
| 2 | #define __LIBUSB_POLL_POSIX_H__ | ||
| 3 | |||
| 4 | #include <unistd.h> | ||
| 5 | #include <poll.h> | ||
| 6 | #define usbi_write write | ||
| 7 | #define usbi_read read | ||
| 8 | #define usbi_close close | ||
| 9 | #define usbi_pipe pipe | ||
| 10 | #define usbi_poll poll | ||
| 11 | |||
| 12 | #endif /* __LIBUSB_POLL_POSIX_H__ */ | ||
