]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
add missing protos
authorAnthony Minessale <anthm@freeswitch.org>
Mon, 21 Oct 2013 15:11:30 +0000 (20:11 +0500)
committerAnthony Minessale <anthm@freeswitch.org>
Mon, 21 Oct 2013 15:11:30 +0000 (20:11 +0500)
libs/sofia-sip/.update
libs/sofia-sip/libsofia-sip-ua/tport/ws.h

index a528d9c44781b7509dcbabdefc99cbbbdfaaf6a2..241cdefa224f11b78a0bed2dff17f207bce4075e 100644 (file)
@@ -1 +1 @@
-Fri Oct 18 23:59:59 CDT 2013
+Mon Oct 21 20:11:13 CDT 2013
index 8c0a50733e993568486dd0c49173461ee68fd0e7..992998be486c6a9e7846e105abb394197cb5f636 100644 (file)
@@ -13,7 +13,6 @@
 #include <sys/socket.h>
 #else
 #pragma warning(disable:4996)
-#include <config.h>
 #endif
 #include <string.h>
 #include <unistd.h>
 #include <openssl/ssl.h>
 
 #ifdef _MSC_VER
-typedef intptr_t ssize_t;
+#ifdef _WIN64
+#define WS_SSIZE_T __int64
+#elif _MSC_VER >= 1400
+#define WS_SSIZE_T __int32 __w64
+#else
+#define WS_SSIZE_T __int32
+#endif
+typedef WS_SSIZE_T ssize_t
 #endif
 
 
@@ -90,10 +96,11 @@ ssize_t ws_close(wsh_t *wsh, int16_t reason);
 void ws_destroy(wsh_t *wsh);
 void init_ssl(void);
 void deinit_ssl(void);
-
 int xp_errno(void);
 int xp_is_blocking(int errcode);
 
+
+
 #ifndef _MSC_VER
 static inline uint64_t get_unaligned_uint64(const void *p)
 {