3 Commits

Author SHA1 Message Date
Pete Batard a5fc611142 stdint.h fixes for MSVC6 2010-04-02 18:37:21 +01:00
Pete Batard d4ae5cd66d use public domain inttypes.h and stdint.h (from MinGW-w64) 2010-04-02 14:00:56 +01:00
Pete Batard a32c101a47 svn r52: MSVC compatibility update:
- changed ssize_t to int for libusb_get_device_list (do we really expect that
many devices?). Also in lsusb.c
- redefined inline to __inline in libusb.h
- remove the unistd.h include for OS_WINDOWS
- api/ vs ddk/ for ddk includes
- changed variadics using ,fmt... to ,... and __VA_ARGS__
- list_for_each_entry now requires a type parameter
- libusb_cpu_to_le16 as inline
- time.h vs sys/time.h
- harmonization of #ifdef vs #if defined() within individual files
- defined an empty __drv_preferredFunction(func,why) before #include
<cfgmgr32.h>, as it only applies to obsolete functions
- excluded USB_HUB_CAPS redefinition from MSVC
- new msvc top directory for includes (stdint.h inttypes.h and pthread)
- new config_msvc.h file
- new README_MSVC and MSVC project files
- removed various warnings (signed/unsigned comparisons, cast, etc)
2010-01-14 01:31:38 +00:00