diff options
| author | LazyHamster <ariman@inbox.ru> | 2017-10-05 15:56:49 +0300 |
|---|---|---|
| committer | LazyHamster <ariman@inbox.ru> | 2017-10-05 15:56:49 +0300 |
| commit | 887466dfc1ff8ed20d3b9268f76da987f7d53635 (patch) | |
| tree | afdad04519bc7611919992a06c81ce625c376257 /ports/librtmp/fix_strncasecmp.patch | |
| parent | d8507cd159f8de6ae174cae9894c926f75fe50d7 (diff) | |
| download | vcpkg-887466dfc1ff8ed20d3b9268f76da987f7d53635.tar.gz vcpkg-887466dfc1ff8ed20d3b9268f76da987f7d53635.zip | |
Added port for librtmp 2.3
Diffstat (limited to 'ports/librtmp/fix_strncasecmp.patch')
| -rw-r--r-- | ports/librtmp/fix_strncasecmp.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/ports/librtmp/fix_strncasecmp.patch b/ports/librtmp/fix_strncasecmp.patch new file mode 100644 index 000000000..c1cadc4ac --- /dev/null +++ b/ports/librtmp/fix_strncasecmp.patch @@ -0,0 +1,16 @@ +diff --git a/librtmp/rtmp_sys.h b/librtmp/rtmp_sys.h +index 0874cbe..b43d587 100644 +--- a/librtmp/rtmp_sys.h ++++ b/librtmp/rtmp_sys.h +@@ -37,6 +37,11 @@ + #include <ws2tcpip.h> + #endif + ++#ifdef _MSC_VER ++#define strncasecmp _strnicmp ++#define strcasecmp _stricmp ++#endif ++ + #define GetSockError() WSAGetLastError() + #define SetSockError(e) WSASetLastError(e) + #define setsockopt(a,b,c,d,e) (setsockopt)(a,b,c,(const char *)d,(int)e) |
