diff options
author | Pete Batard <pbatard@gmail.com> | 2010-02-24 18:05:11 +0000 |
---|---|---|
committer | Pete Batard <pbatard@gmail.com> | 2010-02-24 18:05:11 +0000 |
commit | 921572e90b90f349d523921fb2820797680ee6e8 (patch) | |
tree | 3bf755959ae0ce0c1b8172c0b9ccd7803a856b26 /libusb | |
parent | e49877a0bf1c30e04d268711694ac522ff41d82a (diff) | |
download | libusb-921572e90b90f349d523921fb2820797680ee6e8.tar.gz |
added unistd_posix.hr171
Diffstat (limited to 'libusb')
-rw-r--r-- | libusb/os/unistd_posix.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libusb/os/unistd_posix.h b/libusb/os/unistd_posix.h new file mode 100644 index 0000000..1b3ba84 --- /dev/null +++ b/libusb/os/unistd_posix.h @@ -0,0 +1,12 @@ +#ifndef __LIBUSB_UNISTD_POSIX_H__ +#define __LIBUSB_UNISTD_POSIX_H__ + +#include <unistd.h> +#include <poll.h> +#define _libusb_write write +#define _libusb_read read +#define _libusb_close close +#define _libusb_pipe pipe +#define _libusb_poll poll + +#endif /* __LIBUSB_UNISTD_POSIX_H__ */ |