]>
Commit | Line | Data |
---|---|---|
1e59de90 TL |
1 | diff --git a/librtmp/rtmp_sys.h b/librtmp/rtmp_sys.h |
2 | index 6a3f215..1b5ac2a 100644 | |
3 | --- a/librtmp/rtmp_sys.h | |
4 | +++ b/librtmp/rtmp_sys.h | |
5 | @@ -28,11 +28,13 @@ | |
6 | #include <ws2tcpip.h> | |
7 | ||
8 | #ifdef _MSC_VER /* MSVC */ | |
9 | +#if _MSC_VER < 1900 | |
10 | #define snprintf _snprintf | |
11 | -#define strcasecmp stricmp | |
12 | -#define strncasecmp strnicmp | |
13 | #define vsnprintf _vsnprintf | |
14 | #endif | |
15 | +#define strcasecmp _stricmp | |
16 | +#define strncasecmp _strnicmp | |
17 | +#endif | |
18 | ||
19 | #define GetSockError() WSAGetLastError() | |
20 | #define SetSockError(e) WSASetLastError(e) |