diff options
author | Pete Batard <pbatard@gmail.com> | 2010-11-18 12:24:37 +0000 |
---|---|---|
committer | Pete Batard <pbatard@gmail.com> | 2010-11-18 12:24:37 +0000 |
commit | 727bb1d499607694b66287618a85c8f3b44e9f30 (patch) | |
tree | 8a78276c61b95e09670a647bf0b171e5dfb65661 /msvc | |
parent | fa4cd28da39f2398d178ab4a1a55bfc8fba395d6 (diff) | |
download | libusb-727bb1d499607694b66287618a85c8f3b44e9f30.tar.gz |
removed dependency on stdint.h for MS binary snapshot users
* binary snapshot users, with a version of Visual Studio < 10
don't have stdint.h available
* stdint.h is referenced in libusb.h
* ssize_t, uint8_t and uint16_t are now defined in libusb.h
when required
Diffstat (limited to 'msvc')
-rw-r--r-- | msvc/stdint.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/msvc/stdint.h b/msvc/stdint.h index d102772..51687f7 100644 --- a/msvc/stdint.h +++ b/msvc/stdint.h @@ -29,17 +29,6 @@ #ifndef _STDINT_H #define _STDINT_H -/* from stddef.h and _mingw.h */ -#ifndef _SSIZE_T_DEFINED -#define _SSIZE_T_DEFINED -#undef ssize_t -#ifdef _WIN64 - typedef __int64 ssize_t; -#else - typedef int ssize_t; -#endif /* _WIN64 */ -#endif /* _SSIZE_T_DEFINED */ - #ifndef _INTPTR_T_DEFINED #define _INTPTR_T_DEFINED #ifndef __intptr_t_defined |