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



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10810 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris committed 2008-12-16 19:47:41 +00:00
1 parent 5e61659aff
commit fbee0e1340
2 files changed
+14 -1

No files matched your search

@@ -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 */