]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Fri Nov 28 08:59:31 CST 2008 Tiago Katcipis <katcipis AT inf DOT ufcs DOT br>
authorMichael Jerris <mike@jerris.com>
Tue, 16 Dec 2008 19:47:41 +0000 (19:47 +0000)
committerMichael Jerris <mike@jerris.com>
Tue, 16 Dec 2008 19:47:41 +0000 (19:47 +0000)
  * tport_type_tls.c: add missing access() for Win32

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10810 d0543943-73ff-0310-b7d9-9358b9ac24b2

libs/sofia-sip/.update
libs/sofia-sip/libsofia-sip-ua/tport/tport_type_tls.c

index d8ea026fd78bdb4dfd53cc7be746842bebb0b6c2..e8e7844fe62b6196627a9df674ff285c58cce73e 100644 (file)
@@ -1 +1 @@
-Wed Nov 12 11:28:12 EST 2008
+Tue Dec 16 13:47:13 CST 2008
index 643e181bcd4c318cc9976992565fb1e2b4e3a36f..f6d7dcf3a6f1388e91d4e50cb7099148be4127e0 100644 (file)
 #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 */