* 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
-Wed Nov 12 11:28:12 EST 2008
+Tue Dec 16 13:47:13 CST 2008
#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 */