diff options
author | Chris Dickens <christopher.a.dickens@gmail.com> | 2016-01-06 21:52:36 -0800 |
---|---|---|
committer | Chris Dickens <christopher.a.dickens@gmail.com> | 2016-01-06 22:15:31 -0800 |
commit | 3313f48c107b7c14676f53feba445f2259ac49ae (patch) | |
tree | 5dd38a9957debdd984e3e23f4b833a639bebde88 /libusb | |
parent | e10a652b4b74e1c7d5f0e5ecd512094425cee5c8 (diff) | |
download | libusb-3313f48c107b7c14676f53feba445f2259ac49ae.tar.gz |
Windows: Use strcasecmp() instead of stricmp() on Cygwin
Cygwin does not define the latter in all versions, so this commit
uses the former POSIX function that Cygwin does provide.
Closes #104
Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
Diffstat (limited to 'libusb')
-rw-r--r-- | libusb/os/windows_usb.h | 2 | ||||
-rw-r--r-- | libusb/version_nano.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libusb/os/windows_usb.h b/libusb/os/windows_usb.h index d8871f0..3ddfa69 100644 --- a/libusb/os/windows_usb.h +++ b/libusb/os/windows_usb.h @@ -48,7 +48,7 @@ #endif #if defined(__CYGWIN__ ) -#define _stricmp stricmp +#define _stricmp strcasecmp #define _snprintf snprintf #define _strdup strdup // _beginthreadex is MSVCRT => unavailable for cygwin. Fallback to using CreateThread diff --git a/libusb/version_nano.h b/libusb/version_nano.h index 989a9a4..e660ec4 100644 --- a/libusb/version_nano.h +++ b/libusb/version_nano.h @@ -1 +1 @@ -#define LIBUSB_NANO 11022 +#define LIBUSB_NANO 11023 |