diff options
-rw-r--r-- | libusb/libusb.h | 9 | ||||
-rw-r--r-- | libusb/os/poll_windows.h | 8 |
2 files changed, 0 insertions, 17 deletions
diff --git a/libusb/libusb.h b/libusb/libusb.h index d584ece..555ae63 100644 --- a/libusb/libusb.h +++ b/libusb/libusb.h @@ -44,15 +44,6 @@ #undef interface #endif -/* MSVC doesn't know ssize_t */ -#if !defined(ssize_t) -#if defined (_WIN64) -#define ssize_t __int64 -#else -#define ssize_t long -#endif -#endif - #ifdef __cplusplus extern "C" { #endif diff --git a/libusb/os/poll_windows.h b/libusb/os/poll_windows.h index 97259e9..d6d887b 100644 --- a/libusb/os/poll_windows.h +++ b/libusb/os/poll_windows.h @@ -31,14 +31,6 @@ // which should give the app an opportunity to resubmit a new fd set. //#define DYNAMIC_FDS -#if !defined(ssize_t) -#if defined (_WIN64) -#define ssize_t __int64 -#else -#define ssize_t long -#endif -#endif - // Handle synchronous completion through the overlapped structure #if !defined(STATUS_REPARSE) // reuse the REPARSE status code #define STATUS_REPARSE ((LONG)0x00000104L) |