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 2008-12-16 19:47:41 +00:00
parent 5e61659aff
commit fbee0e1340
2 changed files with 14 additions and 1 deletions

View File

@ -1 +1 @@
Wed Nov 12 11:28:12 EST 2008
Tue Dec 16 13:47:13 CST 2008

View File

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