diff options
Diffstat (limited to 'libusb/os/windows_compat.h')
-rw-r--r-- | libusb/os/windows_compat.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libusb/os/windows_compat.h b/libusb/os/windows_compat.h index 322ce78..12de260 100644 --- a/libusb/os/windows_compat.h +++ b/libusb/os/windows_compat.h @@ -43,6 +43,7 @@ extern enum windows_version windows_version; #define MAX_FDS 256 +#if !defined(__CYGWIN__) #define POLLIN 0x0001 /* There is data to read */ #define POLLPRI 0x0002 /* There is urgent data to read */ #define POLLOUT 0x0004 /* Writing now will not block */ @@ -55,6 +56,7 @@ struct pollfd { short events; /* requested events */ short revents; /* returned events */ }; +#endif typedef unsigned int nfds_t; // access modes @@ -129,3 +131,4 @@ do { \ } \ } while (0) #endif + |