diff options
author | Pete Batard <pbatard@gmail.com> | 2010-01-21 12:10:43 +0000 |
---|---|---|
committer | Pete Batard <pbatard@gmail.com> | 2010-01-21 12:10:43 +0000 |
commit | a535ea35cd534e7b1d478dd37cbfcda8f1517c8f (patch) | |
tree | 6626533bb5ceaaedc509d2953ae6e5f98510e45c /libusb/os/windows_usb.h | |
parent | c8bec80afba23b1d09151927e707c86c8bda504c (diff) | |
download | libusb-a535ea35cd534e7b1d478dd37cbfcda8f1517c8f.tar.gz |
r98: additional MSVC6 fixes
Diffstat (limited to 'libusb/os/windows_usb.h')
-rw-r--r-- | libusb/os/windows_usb.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libusb/os/windows_usb.h b/libusb/os/windows_usb.h index f9904ba..2463ff8 100644 --- a/libusb/os/windows_usb.h +++ b/libusb/os/windows_usb.h @@ -40,6 +40,11 @@ #define LIBUSB_DEVADDR_MAX UINT8_MAX #endif +// Missing from MSVC6 setupapi.h +#if !defined(SPDRP_ADDRESS) +#define SPDRP_ADDRESS 28 +#endif + #if defined(__CYGWIN__ ) // cygwin produces a warning unless these prototypes are defined extern int _snprintf(char *buffer, size_t count, const char *format, ...); |