[Freeswitch-svn] [commit] r10810 - in freeswitch/trunk/libs/sofia-sip: . libsofia-sip-ua/tport
FreeSWITCH SVN
mikej at freeswitch.org
Tue Dec 16 11:47:41 PST 2008
Author: mikej
Date: Tue Dec 16 14:47:41 2008
New Revision: 10810
Log:
Fri Nov 28 08:59:31 CST 2008 Tiago Katcipis <katcipis AT inf DOT ufcs DOT br>
* tport_type_tls.c: add missing access() for Win32
Modified:
freeswitch/trunk/libs/sofia-sip/.update
freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/tport/tport_type_tls.c
Modified: freeswitch/trunk/libs/sofia-sip/.update
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/.update (original)
+++ freeswitch/trunk/libs/sofia-sip/.update Tue Dec 16 14:47:41 2008
@@ -1 +1 @@
-Wed Nov 12 11:28:12 EST 2008
+Tue Dec 16 13:47:13 CST 2008
Modified: freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/tport/tport_type_tls.c
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/tport/tport_type_tls.c (original)
+++ freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/tport/tport_type_tls.c Tue Dec 16 14:47:41 2008
@@ -48,6 +48,19 @@
#include <string.h>
#include <sofia-sip/string0.h>
+#if HAVE_FUNC
+#elif HAVE_FUNCTION
+#define __func__ __FUNCTION__
+#else
+static char const __func__[] = "tport_type_tls";
+#endif
+
+#if HAVE_WIN32
+#include <io.h>
+#define access(_filename, _mode) _access(_filename, _mode)
+#define R_OK (04)
+#endif
+
/* ---------------------------------------------------------------------- */
/* TLS */
More information about the Freeswitch-svn
mailing list