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:
parent
e7dc5ce560
commit
f82b80b57c
|
@ -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__
|
||||
|
|
Loading…
Reference in New Issue