tweak ifdef for _MSC_VER instead of WIN32

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3731 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2006-12-19 19:41:07 +00:00
parent e7dc5ce560
commit f82b80b57c
1 changed files with 1 additions and 2 deletions

View File

@ -42,8 +42,7 @@ SWITCH_BEGIN_EXTERN_C
#include <stdio.h>
/* OMG */
#ifdef WIN32
#ifdef _MSC_VER
#define __SWITCH_FUNC__ __FUNCTION__
#else
#define __SWITCH_FUNC__ (const char *)__func__