diff options
author | 2024-11-28 18:42:42 +0100 | |
---|---|---|
committer | 2024-11-29 04:27:50 +0100 | |
commit | c3ca555266ff0f241f32a8e8fc2a3ccdae6623fe (patch) | |
tree | 753eb06579771282c6bc0ee7eea12889953aeacd /src/libusbmuxd.c | |
parent | 5d718587177561f3084ed13db4b72a56912d27f5 (diff) | |
download | libusbmuxd-c3ca555266ff0f241f32a8e8fc2a3ccdae6623fe.tar.gz libusbmuxd-c3ca555266ff0f241f32a8e8fc2a3ccdae6623fe.tar.bz2 |
Fix compatibility with MSVC
Diffstat (limited to 'src/libusbmuxd.c')
-rw-r--r-- | src/libusbmuxd.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libusbmuxd.c b/src/libusbmuxd.c index 0c30e3c..ef81416 100644 --- a/src/libusbmuxd.c +++ b/src/libusbmuxd.c @@ -92,6 +92,10 @@ static char* stpncpy(char *dst, const char *src, size_t len) } #endif +#ifdef _MSC_VER +#define strcasecmp _stricmp +#endif + #include <plist/plist.h> #define PLIST_CLIENT_VERSION_STRING PACKAGE_STRING #define PLIST_LIBUSBMUX_VERSION 3 |