diff options
author | Pete Batard <pbatard@gmail.com> | 2010-04-02 18:07:54 +0100 |
---|---|---|
committer | Pete Batard <pbatard@gmail.com> | 2010-04-02 18:07:54 +0100 |
commit | 150590c3454b35de59ee3b62fca36f4dd0d7f1cb (patch) | |
tree | 2fe3e9cb666a39fef812014c887320a1259069e6 | |
parent | d4ae5cd66d2f55e0aae8ab8cf317d6b4677bc040 (diff) | |
download | libusb-150590c3454b35de59ee3b62fca36f4dd0d7f1cb.tar.gz |
removed unneeded ssize_t MSVC redefinition from corer237
-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) |