mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 20:39:00 +08:00
21 lines
581 B
Diff
21 lines
581 B
Diff
diff --git a/src/libusbmuxd.c b/src/libusbmuxd.c
|
|
index e85cf4a..35ed1b5 100644
|
|
--- a/src/libusbmuxd.c
|
|
+++ b/src/libusbmuxd.c
|
|
@@ -86,6 +86,15 @@ static char* stpncpy(char *dst, const char *src, size_t len)
|
|
}
|
|
#endif
|
|
|
|
+#ifdef WIN32
|
|
+int strcasecmp(char *s1, char *s2)
|
|
+{
|
|
+ while (toupper((unsigned char)*s1) == toupper((unsigned char)*s2++))
|
|
+ if (*s1++ == '\0') return 0;
|
|
+ return(toupper((unsigned char)*s1) - toupper((unsigned char)*--s2));
|
|
+}
|
|
+#endif
|
|
+
|
|
#include <plist/plist.h>
|
|
#define PLIST_CLIENT_VERSION_STRING PACKAGE_STRING
|
|
#define PLIST_LIBUSBMUX_VERSION 3
|