From 88b2e96516db3203bd28e8d4a467347de4000e9e Mon Sep 17 00:00:00 2001 From: Jeff Lenk Date: Tue, 22 Oct 2013 23:23:48 -0500 Subject: [PATCH] windows fix compiler errors --- libs/sofia-sip/libsofia-sip-ua/tport/ws.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libs/sofia-sip/libsofia-sip-ua/tport/ws.h b/libs/sofia-sip/libsofia-sip-ua/tport/ws.h index 992998be48..7b02b47966 100644 --- a/libs/sofia-sip/libsofia-sip-ua/tport/ws.h +++ b/libs/sofia-sip/libsofia-sip-ua/tport/ws.h @@ -26,6 +26,8 @@ #include #ifdef _MSC_VER +#define strncasecmp _strnicmp +#define snprintf _snprintf #ifdef _WIN64 #define WS_SSIZE_T __int64 #elif _MSC_VER >= 1400 @@ -33,7 +35,7 @@ #else #define WS_SSIZE_T __int32 #endif -typedef WS_SSIZE_T ssize_t +typedef WS_SSIZE_T ssize_t; #endif